Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008206/0.0008206, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8776/0.8776, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.744/1.744, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.6e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002274/0.0023, allocations: 0.7853 MB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001432/0.002443, allocations: 39.78 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.002513, allocations: 11.94 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.799e-05/0.002561, allocations: 11.86 kB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.002668, allocations: 7.875 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.002769, allocations: 19.98 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.002911, allocations: 63.83 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.003075, allocations: 27.91 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.003185, allocations: 31.92 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.003238, allocations: 23.89 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.003268, allocations: 8 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.00328, allocations: 8 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.003302, allocations: 11.94 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.003338, allocations: 27.91 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.003485, allocations: 71.69 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.003489, allocations: 4 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.242e-06/0.00349, allocations: 0 / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.003497, allocations: 0 / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004823/0.00398, allocations: 310 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.004028, allocations: 8.75 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.569e-05/0.004074, allocations: 42.73 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.004104, allocations: 8.891 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.0043, allocations: 129.6 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.004315, allocations: 12.38 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.004327, allocations: 4.375 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.004496, allocations: 97.73 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.004507, allocations: 4.125 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.004521, allocations: 384 / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.00453, allocations: 8.125 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.973e-05/0.004609, allocations: 35.98 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.005149, allocations: 391.9 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.313e-05/0.005212, allocations: 41.09 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/0.00525, allocations: 25.84 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.005258, allocations: 0 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.005287, allocations: 38.48 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.005288, allocations: 0 / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002008/0.005489, allocations: 49.66 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.005537, allocations: 84.98 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.005757, allocations: 161.6 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.00577, allocations: 25.7 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.005841, allocations: 108.2 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.005854, allocations: 19.89 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.005892, allocations: 13.72 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.005988, allocations: 318.8 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.006008, allocations: 8 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.006037, allocations: 17.7 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.556e-05/0.006082, allocations: 29.72 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006084, allocations: 0 / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.655e-05/0.006171, allocations: 53.59 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.006187, allocations: 8.062 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.006193, allocations: 4 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.006209, allocations: 96 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.891e-05/0.006287, allocations: 15.91 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.006294, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.006326, allocations: 19.83 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.006333, allocations: 0 / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/0.006415, allocations: 113.8 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.006457, allocations: 7.953 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.006489, allocations: 15.8 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.006491, allocations: 4 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.006501, allocations: 7.938 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.006505, allocations: 0 / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.006898, allocations: 429.9 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.006901, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.006929, allocations: 7.938 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.006932, allocations: 0 / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.006942, allocations: 4 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.006945, allocations: 0 / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.006948, allocations: 4 kB / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.168e-05/0.00703, allocations: 82.72 kB / 1.003 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/0.007062, allocations: 15.84 kB / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.007076, allocations: 0 / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.708e-05/0.007093, allocations: 0 / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.007111, allocations: 7.984 kB / 1.003 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.007115, allocations: 0 / 1.003 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.82e-05/0.007203, allocations: 129.4 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.007203, allocations: 0 / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002011/0.007405, allocations: 8 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003102/0.007715, allocations: 0.6094 MB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.722e-05/0.007802, allocations: 19.94 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.007804, allocations: 0 / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.811e-06/0.00781, allocations: 4 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.007936, allocations: 7.938 kB / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009162/0.008853, allocations: 1.342 MB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.563e-05/0.008908, allocations: 83.59 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.008945, allocations: 8.484 kB / 1.006 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.008995, allocations: 28.48 kB / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of SimCode: time 7.21e-07/0.008996, allocations: 0 / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.02478, allocations: 2.23 MB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.775/6.799, allocations: 5.156 kB / 1.008 GB, free: 4.781 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.94013231806457]