Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.001931/0.001931, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002004/0.002004, allocations: 216.4 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.603/1.603, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.599/3.599, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 74.36 kB / 1.186 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.5005, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.298/0.7985, allocations: 215 MB / 1.574 GB, free: 5.785 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02256/0.821, allocations: 12.57 MB / 1.586 GB, free: 9.18 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002937/0.824, allocations: 91.12 kB / 1.586 GB, free: 9.09 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.003307/0.8273, allocations: 0.9549 MB / 1.587 GB, free: 8.129 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.006873/0.8342, allocations: 1.85 MB / 1.589 GB, free: 6.273 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004308/0.8385, allocations: 1.271 MB / 1.59 GB, free: 5.016 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.00635/0.8448, allocations: 3.274 MB / 1.593 GB, free: 1.734 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.8464, allocations: 0.837 MB / 1.594 GB, free: 0.8594 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01254/0.8589, allocations: 4.297 MB / 1.598 GB, free: 12.55 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.8608, allocations: 0.8825 MB / 1.599 GB, free: 11.66 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0002607/0.861, allocations: 79.94 kB / 1.599 GB, free: 11.58 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.8628, allocations: 0.5999 MB / 1.6 GB, free: 10.98 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0005345/0.8634, allocations: 454.4 kB / 1.6 GB, free: 10.54 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0007801/0.8641, allocations: 0.5675 MB / 1.601 GB, free: 9.965 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.8664, allocations: 1.54 MB / 1.602 GB, free: 8.418 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8664, allocations: 0 / 1.602 GB, free: 8.418 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.215e-06/0.8664, allocations: 0 / 1.602 GB, free: 8.418 MB / 1.295 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.8664, allocations: 4 kB / 1.602 GB, free: 8.414 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002577/0.869, allocations: 1.613 MB / 1.604 GB, free: 6.766 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.8691, allocations: 8.031 kB / 1.604 GB, free: 6.758 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007178/0.8698, allocations: 210.9 kB / 1.604 GB, free: 6.551 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.8716, allocations: 0.8578 MB / 1.605 GB, free: 5.648 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.8718, allocations: 168.8 kB / 1.605 GB, free: 5.457 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.8719, allocations: 88 kB / 1.605 GB, free: 5.371 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.8735, allocations: 1.018 MB / 1.606 GB, free: 4.238 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.8735, allocations: 3.938 kB / 1.606 GB, free: 4.234 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.611e-05/0.8736, allocations: 39.94 kB / 1.606 GB, free: 4.195 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.8736, allocations: 20 kB / 1.606 GB, free: 4.176 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009446/0.8746, allocations: 0.5031 MB / 1.607 GB, free: 3.672 MB / 1.295 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9787/1.853, allocations: 3.738 MB / 1.61 GB, free: 249.6 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009669/1.854, allocations: 407.2 kB / 1.611 GB, free: 249.3 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004828/1.855, allocations: 256 kB / 1.611 GB, free: 249.1 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/1.855, allocations: 29.55 kB / 1.611 GB, free: 249.1 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.687e-05/1.855, allocations: 50.33 kB / 1.611 GB, free: 249.1 MB / 1.295 GB Notification: Performance of pre-optimization done (n=31): time 4.448e-06/1.855, allocations: 1.281 kB / 1.611 GB, free: 249.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=31): time 0.002569/1.858, allocations: 0.6019 MB / 1.612 GB, free: 249 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.858, allocations: 403.9 kB / 1.612 GB, free: 248.6 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/1.859, allocations: 0.862 MB / 1.613 GB, free: 248.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/1.859, allocations: 38.77 kB / 1.613 GB, free: 248.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005279/1.86, allocations: 0.5836 MB / 1.614 GB, free: 248.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/1.86, allocations: 114.8 kB / 1.614 GB, free: 248.2 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/1.86, allocations: 83.5 kB / 1.614 GB, free: 248.2 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.728e-05/1.86, allocations: 319.1 kB / 1.614 GB, free: 247.9 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/1.86, allocations: 93.02 kB / 1.614 GB, free: 247.9 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006665/1.861, allocations: 0.9869 MB / 1.615 GB, free: 246.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006285/1.862, allocations: 330.8 kB / 1.615 GB, free: 246.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.862, allocations: 1.656 kB / 1.615 GB, free: 246.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001002/1.863, allocations: 470.3 kB / 1.616 GB, free: 246.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/1.863, allocations: 9.188 kB / 1.616 GB, free: 246.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.863, allocations: 3.672 kB / 1.616 GB, free: 246.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/1.863, allocations: 80.98 kB / 1.616 GB, free: 246.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/1.863, allocations: 58.83 kB / 1.616 GB, free: 246.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/1.866, allocations: 2.988 MB / 1.619 GB, free: 243.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006438/1.866, allocations: 44.95 kB / 1.619 GB, free: 243.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/1.866, allocations: 25.17 kB / 1.619 GB, free: 243.7 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004796/1.867, allocations: 274.5 kB / 1.619 GB, free: 243.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/1.867, allocations: 111.8 kB / 1.619 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/1.867, allocations: 99.55 kB / 1.619 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.867, allocations: 6.031 kB / 1.619 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/1.867, allocations: 5.312 kB / 1.619 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/1.867, allocations: 9.188 kB / 1.62 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/1.871, allocations: 2.349 MB / 1.622 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/1.871, allocations: 5.312 kB / 1.622 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/1.871, allocations: 51.36 kB / 1.622 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/1.871, allocations: 74.06 kB / 1.622 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/1.871, allocations: 16.69 kB / 1.622 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/1.874, allocations: 2.998 MB / 1.625 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-05/1.874, allocations: 10.06 kB / 1.625 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/1.875, allocations: 0.6375 MB / 1.625 GB, free: 238.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/1.875, allocations: 139.7 kB / 1.626 GB, free: 238.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.875, allocations: 16.3 kB / 1.626 GB, free: 238.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/1.876, allocations: 35.92 kB / 1.626 GB, free: 238.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.876, allocations: 43.86 kB / 1.626 GB, free: 238.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/1.876, allocations: 14.98 kB / 1.626 GB, free: 238.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001087/1.877, allocations: 0.5882 MB / 1.626 GB, free: 237.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 8.1e-08/1.877, allocations: 0 / 1.626 GB, free: 237.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001528/1.879, allocations: 296.6 kB / 1.627 GB, free: 237.9 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004137/1.879, allocations: 200.2 kB / 1.627 GB, free: 237.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001077/1.88, allocations: 0.5212 MB / 1.627 GB, free: 237.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.88, allocations: 1.953 kB / 1.627 GB, free: 237.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004894/1.881, allocations: 400.2 kB / 1.628 GB, free: 237.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/1.883, allocations: 425.8 kB / 1.628 GB, free: 237.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/1.885, allocations: 1.821 MB / 1.63 GB, free: 236 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/1.886, allocations: 0.5492 MB / 1.63 GB, free: 235.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0006425/1.887, allocations: 182 kB / 1.631 GB, free: 235.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/1.887, allocations: 65.3 kB / 1.631 GB, free: 235.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.002e-06/1.887, allocations: 0 / 1.631 GB, free: 235.8 MB / 1.295 GB Notification: Performance of Templates: time 0.03947/1.926, allocations: 17.83 MB / 1.648 GB, free: 231.6 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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: 11.942428143694997]