Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.ETS.Heating.Examples.Direct.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.001377/0.001377, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001557/0.001557, allocations: 213.7 kB / 23 MB, free: 4.969 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.381/3.381, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.DHC.ETS.Heating.Examples.Direct,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaETS.senTDisSup.T|heaETS.senTBuiSup.T|heaETS.senTBuiRet.T|heaETS.senTDisRet.T|heaETS.port_aSerHea.m_flow|heaETS.ports_aHeaWat.1..m_flow|heaETS.cheVal.m_flow|heaETS.conVal.y|heaETS.Q_flow|heaETS.Q",fileNamePrefix="Buildings_12_Buildings.DHC.ETS.Heating.Examples.Direct") translateModel(Buildings.DHC.ETS.Heating.Examples.Direct,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaETS.senTDisSup.T|heaETS.senTBuiSup.T|heaETS.senTBuiRet.T|heaETS.senTDisRet.T|heaETS.port_aSerHea.m_flow|heaETS.ports_aHeaWat.1..m_flow|heaETS.cheVal.m_flow|heaETS.conVal.y|heaETS.Q_flow|heaETS.Q",fileNamePrefix="Buildings_12_Buildings.DHC.ETS.Heating.Examples.Direct") [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.002281/0.002281, allocations: 70.06 kB / 1.155 GB, free: 25.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4478, allocations: 176.1 MB / 1.327 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Heating.Examples.Direct): time 0.1747/0.6225, allocations: 143.3 MB / 1.467 GB, free: 1.168 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.05749/0.68, allocations: 32.1 MB / 1.498 GB, free: 0.9844 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007451/0.6875, allocations: 234 kB / 1.499 GB, free: 0.7539 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.6977, allocations: 3.026 MB / 1.502 GB, free: 13.71 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01859/0.7163, allocations: 5.991 MB / 1.507 GB, free: 7.703 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.01237/0.7286, allocations: 4.427 MB / 1.512 GB, free: 3.305 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.02365/0.7523, allocations: 13.62 MB / 1.525 GB, free: 5.652 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007399/0.7597, allocations: 2.926 MB / 1.528 GB, free: 2.66 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01469/0.7744, allocations: 5.15 MB / 1.533 GB, free: 13.5 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007396/0.7818, allocations: 3.061 MB / 1.536 GB, free: 10.43 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.001765/0.7835, allocations: 399.9 kB / 1.536 GB, free: 10.04 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009068/0.7926, allocations: 2.644 MB / 1.539 GB, free: 7.391 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.002386/0.795, allocations: 1.187 MB / 1.54 GB, free: 6.199 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.004825/0.7998, allocations: 1.874 MB / 1.542 GB, free: 4.316 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01668/0.8165, allocations: 7.525 MB / 1.549 GB, free: 12.77 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.8165, allocations: 0 / 1.549 GB, free: 12.77 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8165, allocations: 0 / 1.549 GB, free: 12.77 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0002096/0.8167, allocations: 7.938 kB / 1.549 GB, free: 12.76 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 558 * Number of variables: 558 Notification: Performance of Generate backend data structure: time 0.01369/0.8304, allocations: 5.232 MB / 1.554 GB, free: 7.441 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.8304, allocations: 12.03 kB / 1.554 GB, free: 7.43 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002366/0.8328, allocations: 0.5984 MB / 1.555 GB, free: 6.828 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/0.8451, allocations: 4.586 MB / 1.559 GB, free: 2.156 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.8453, allocations: 176.4 kB / 1.56 GB, free: 1.98 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005688/0.8458, allocations: 239.9 kB / 1.56 GB, free: 1.746 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00636/0.8522, allocations: 2.838 MB / 1.563 GB, free: 14.67 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-05/0.8522, allocations: 3.938 kB / 1.563 GB, free: 14.67 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/0.8525, allocations: 96 kB / 1.563 GB, free: 14.57 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-05/0.8526, allocations: 56 kB / 1.563 GB, free: 14.52 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004153/0.8567, allocations: 1.824 MB / 1.564 GB, free: 12.68 MB / 1.264 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.01853/0.8753, allocations: 9.15 MB / 1.573 GB, free: 3.305 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.8778, allocations: 1.091 MB / 1.574 GB, free: 2.207 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.8793, allocations: 0.6115 MB / 1.575 GB, free: 1.594 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006858/0.8862, allocations: 2.299 MB / 1.577 GB, free: 15.27 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001787/0.8879, allocations: 1.067 MB / 1.578 GB, free: 14.09 MB / 1.279 GB Notification: Performance of pre-optimization done (n=117): time 3.867e-06/0.8879, allocations: 0 / 1.578 GB, free: 14.09 MB / 1.279 GB Notification: Performance of matching and sorting (n=117): time 0.005705/0.8937, allocations: 1.971 MB / 1.58 GB, free: 12.12 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.8937, allocations: 119.8 kB / 1.58 GB, free: 11.98 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0064/0.9001, allocations: 3.402 MB / 1.584 GB, free: 8.551 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000243/0.9004, allocations: 53.7 kB / 1.584 GB, free: 8.492 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002567/0.9029, allocations: 1.808 MB / 1.586 GB, free: 6.672 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006079/0.9036, allocations: 444.3 kB / 1.586 GB, free: 6.234 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007633/0.9043, allocations: 479.7 kB / 1.586 GB, free: 5.758 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.9045, allocations: 301.1 kB / 1.587 GB, free: 5.461 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.9061, allocations: 0.7747 MB / 1.587 GB, free: 4.684 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002653/0.9088, allocations: 1.948 MB / 1.589 GB, free: 2.34 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003599/0.9124, allocations: 2.016 MB / 1.591 GB, free: 120 kB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.9124, allocations: 7.938 kB / 1.591 GB, free: 112 kB / 1.279 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.006082/0.9185, allocations: 2.637 MB / 1.594 GB, free: 13.46 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.9185, allocations: 12 kB / 1.594 GB, free: 13.45 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.9185, allocations: 12 kB / 1.594 GB, free: 13.44 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000481/0.919, allocations: 121 kB / 1.594 GB, free: 13.32 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.9207, allocations: 451.3 kB / 1.594 GB, free: 12.88 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000755/0.9214, allocations: 0.6576 MB / 1.595 GB, free: 12.19 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/0.9241, allocations: 262.5 kB / 1.595 GB, free: 11.93 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.9242, allocations: 95.97 kB / 1.595 GB, free: 11.84 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003226/0.9275, allocations: 1.465 MB / 1.597 GB, free: 10.37 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00284/0.9303, allocations: 1.92 MB / 1.599 GB, free: 8.055 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003923/0.9342, allocations: 1.984 MB / 1.601 GB, free: 5.863 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.233e-05/0.9343, allocations: 8 kB / 1.601 GB, free: 5.855 MB / 1.295 GB Notification: Performance of matching and sorting (n=286) (initialization_lambda0): time 0.005919/0.9402, allocations: 2.558 MB / 1.603 GB, free: 3.285 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.9402, allocations: 17.56 kB / 1.603 GB, free: 3.27 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.9402, allocations: 12 kB / 1.603 GB, free: 3.258 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/0.9404, allocations: 64.83 kB / 1.603 GB, free: 3.191 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.9421, allocations: 443.3 kB / 1.604 GB, free: 2.758 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.9438, allocations: 1.594 MB / 1.605 GB, free: 1.062 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/0.9465, allocations: 231 kB / 1.605 GB, free: 0.8359 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/0.9467, allocations: 92.17 kB / 1.606 GB, free: 0.7461 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.QHea.nextTimeEvent,$whenCondition1,heaETS.con.con1.y,heaETS.int.local_reset,QHea.nextTimeEvent,QHea.nextTimeEventScaled,$PRE.QHea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 245 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005553/0.9472, allocations: 308.9 kB / 1.606 GB, free: 448 kB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000863/0.9481, allocations: 361.6 kB / 1.606 GB, free: 84 kB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8535/1.802, allocations: 1.857 MB / 1.608 GB, free: 271.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002849/1.804, allocations: 1.273 MB / 1.609 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/1.804, allocations: 1.781 kB / 1.609 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002316/1.807, allocations: 0.5445 MB / 1.61 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000863/1.808, allocations: 23.12 kB / 1.61 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/1.809, allocations: 86.12 kB / 1.61 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/1.81, allocations: 86.73 kB / 1.61 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004884/1.814, allocations: 1.756 MB / 1.612 GB, free: 270.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005896/1.82, allocations: 2.641 MB / 1.614 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001352/1.822, allocations: 0.5974 MB / 1.615 GB, free: 269.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005648/1.827, allocations: 2.253 MB / 1.617 GB, free: 268.7 MB / 1.295 GB Notification: Performance of Backend: time 6.21e-07/1.827, allocations: 0 / 1.617 GB, free: 268.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01449/1.842, allocations: 3.775 MB / 1.621 GB, free: 267.7 MB / 1.295 GB Notification: Performance of SimCode: time 0.01766/1.859, allocations: 8.071 MB / 1.629 GB, free: 264 MB / 1.295 GB Notification: Performance of Templates: time 0.1128/1.972, allocations: 83.63 MB / 1.71 GB, free: 194.7 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.DHC.ETS.Heating.Examples.Direct.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.ETS.Heating.Examples.Direct.pipe ; mkfifo Buildings_12_Buildings.DHC.ETS.Heating.Examples.Direct.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.ETS.Heating.Examples.Direct.pipe >> ../files/Buildings_12_Buildings.DHC.ETS.Heating.Examples.Direct.sim & ./Buildings_12_Buildings.DHC.ETS.Heating.Examples.Direct -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.ETS.Heating.Examples.Direct.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.ETS.Heating.Examples.Direct_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_ETS_Heating_Examples_Direct.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.ETS.Heating.Examples.Direct.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: 13.572382076003123]