Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.ETS.Cooling.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.001333/0.001333, allocations: 107.8 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.001515/0.001515, allocations: 211.2 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.824 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.406/3.406, 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.Cooling.Examples.Direct,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooETS.senTDisSup.T|cooETS.senTBuiSup.T|cooETS.senTBuiRet.T|cooETS.senTDisRet.T|cooETS.port_aSerCoo.m_flow|cooETS.ports_aChiWat.1..m_flow|cooETS.cheVal.m_flow|cooETS.conVal.y|cooETS.Q_flow|cooETS.Q",fileNamePrefix="Buildings_12_Buildings.DHC.ETS.Cooling.Examples.Direct") translateModel(Buildings.DHC.ETS.Cooling.Examples.Direct,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooETS.senTDisSup.T|cooETS.senTBuiSup.T|cooETS.senTBuiRet.T|cooETS.senTDisRet.T|cooETS.port_aSerCoo.m_flow|cooETS.ports_aChiWat.1..m_flow|cooETS.cheVal.m_flow|cooETS.conVal.y|cooETS.Q_flow|cooETS.Q",fileNamePrefix="Buildings_12_Buildings.DHC.ETS.Cooling.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.003605/0.003605, allocations: 70.88 kB / 1.155 GB, free: 25.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.4606, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Cooling.Examples.Direct): time 0.2072/0.6679, allocations: 143.3 MB / 1.467 GB, free: 1.289 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.067/0.7349, allocations: 32.1 MB / 1.498 GB, free: 1.109 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008677/0.7435, allocations: 238 kB / 1.499 GB, free: 0.875 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.01118/0.7547, allocations: 3.025 MB / 1.502 GB, free: 13.84 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.02359/0.7783, allocations: 5.991 MB / 1.507 GB, free: 7.824 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.01333/0.7916, allocations: 4.418 MB / 1.512 GB, free: 3.434 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.02427/0.8159, allocations: 13.63 MB / 1.525 GB, free: 5.773 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006539/0.8224, allocations: 2.922 MB / 1.528 GB, free: 2.785 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01617/0.8386, allocations: 5.099 MB / 1.533 GB, free: 13.68 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00991/0.8485, allocations: 3.061 MB / 1.536 GB, free: 10.61 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.002553/0.8511, allocations: 400 kB / 1.536 GB, free: 10.21 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01104/0.8621, allocations: 2.648 MB / 1.539 GB, free: 7.562 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.002881/0.865, allocations: 1.179 MB / 1.54 GB, free: 6.379 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.005063/0.8701, allocations: 1.874 MB / 1.542 GB, free: 4.496 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.8868, allocations: 7.517 MB / 1.549 GB, free: 12.95 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.8868, allocations: 7.938 kB / 1.549 GB, free: 12.95 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8868, allocations: 0 / 1.549 GB, free: 12.95 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0002561/0.887, allocations: 0 / 1.549 GB, free: 12.95 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.01423/0.9013, allocations: 5.252 MB / 1.554 GB, free: 7.609 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.9013, allocations: 8.031 kB / 1.554 GB, free: 7.602 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002496/0.9038, allocations: 0.5945 MB / 1.555 GB, free: 7.004 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/0.9147, allocations: 4.582 MB / 1.559 GB, free: 2.336 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.9149, allocations: 188.4 kB / 1.559 GB, free: 2.148 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006378/0.9155, allocations: 235.9 kB / 1.56 GB, free: 1.918 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005469/0.921, allocations: 2.834 MB / 1.562 GB, free: 14.85 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.168e-05/0.9211, allocations: 11.94 kB / 1.562 GB, free: 14.84 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/0.9213, allocations: 88 kB / 1.563 GB, free: 14.75 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.541e-05/0.9214, allocations: 60 kB / 1.563 GB, free: 14.69 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003942/0.9253, allocations: 1.824 MB / 1.564 GB, free: 12.85 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.01799/0.9433, allocations: 9.142 MB / 1.573 GB, free: 3.484 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.9458, allocations: 1.095 MB / 1.574 GB, free: 2.383 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.9471, allocations: 0.6193 MB / 1.575 GB, free: 1.762 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007114/0.9542, allocations: 2.295 MB / 1.577 GB, free: 15.44 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001792/0.956, allocations: 1.071 MB / 1.578 GB, free: 14.27 MB / 1.279 GB Notification: Performance of pre-optimization done (n=117): time 3.457e-06/0.956, allocations: 0 / 1.578 GB, free: 14.27 MB / 1.279 GB Notification: Performance of matching and sorting (n=117): time 0.005424/0.9615, allocations: 1.967 MB / 1.58 GB, free: 12.29 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.9615, allocations: 119.8 kB / 1.58 GB, free: 12.15 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00601/0.9675, allocations: 3.406 MB / 1.584 GB, free: 8.719 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0003611/0.9679, allocations: 57.7 kB / 1.584 GB, free: 8.656 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002031/0.9699, allocations: 1.796 MB / 1.585 GB, free: 6.848 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006741/0.9706, allocations: 440.3 kB / 1.586 GB, free: 6.414 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008072/0.9714, allocations: 475.8 kB / 1.586 GB, free: 5.941 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.9716, allocations: 313.1 kB / 1.587 GB, free: 5.633 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.9732, allocations: 0.7708 MB / 1.587 GB, free: 4.859 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002586/0.9757, allocations: 1.94 MB / 1.589 GB, free: 2.523 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003557/0.9793, allocations: 2.024 MB / 1.591 GB, free: 300 kB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.946e-05/0.9793, allocations: 8 kB / 1.591 GB, free: 292 kB / 1.279 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.006136/0.9855, allocations: 2.629 MB / 1.594 GB, free: 13.64 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.9855, allocations: 12 kB / 1.594 GB, free: 13.63 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/0.9855, allocations: 15.83 kB / 1.594 GB, free: 13.62 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004893/0.986, allocations: 129 kB / 1.594 GB, free: 13.49 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.9877, allocations: 451.3 kB / 1.594 GB, free: 13.05 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000759/0.9884, allocations: 0.6654 MB / 1.595 GB, free: 12.36 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/0.9913, allocations: 258.4 kB / 1.595 GB, free: 12.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/0.9915, allocations: 95.97 kB / 1.595 GB, free: 12.01 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003112/0.9946, allocations: 1.465 MB / 1.597 GB, free: 10.54 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002454/0.9971, allocations: 1.916 MB / 1.599 GB, free: 8.227 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003318/1, allocations: 1.984 MB / 1.601 GB, free: 6.035 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.186e-05/1, allocations: 4 kB / 1.601 GB, free: 6.031 MB / 1.295 GB Notification: Performance of matching and sorting (n=286) (initialization_lambda0): time 0.005582/1.006, allocations: 2.562 MB / 1.603 GB, free: 3.457 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/1.006, allocations: 15.98 kB / 1.603 GB, free: 3.441 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/1.006, allocations: 16 kB / 1.603 GB, free: 3.426 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/1.006, allocations: 64.84 kB / 1.603 GB, free: 3.359 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.008, allocations: 447.3 kB / 1.604 GB, free: 2.922 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/1.01, allocations: 1.578 MB / 1.605 GB, free: 1.242 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/1.013, allocations: 227 kB / 1.605 GB, free: 1.02 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/1.013, allocations: 95.97 kB / 1.606 GB, free: 0.9258 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.QCoo.nextTimeEvent,$whenCondition1,cooETS.con.con1.y,cooETS.int.local_reset,QCoo.nextTimeEvent,QCoo.nextTimeEventScaled,$PRE.QCoo.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.0006107/1.013, allocations: 309 kB / 1.606 GB, free: 0.6172 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000999/1.014, allocations: 361.7 kB / 1.606 GB, free: 268 kB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.022/2.036, allocations: 1.861 MB / 1.608 GB, free: 271.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002789/2.039, allocations: 1.273 MB / 1.609 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/2.039, allocations: 0.5625 kB / 1.609 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/2.041, allocations: 0.5461 MB / 1.61 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006812/2.042, allocations: 27.89 kB / 1.61 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/2.043, allocations: 85.97 kB / 1.61 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/2.043, allocations: 89.77 kB / 1.61 GB, free: 271.4 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004346/2.048, allocations: 1.756 MB / 1.612 GB, free: 270.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00529/2.053, allocations: 2.644 MB / 1.614 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00122/2.054, allocations: 0.5963 MB / 1.615 GB, free: 269.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004793/2.059, allocations: 2.25 MB / 1.617 GB, free: 268.7 MB / 1.295 GB Notification: Performance of Backend: time 3.4e-07/2.059, allocations: 0 / 1.617 GB, free: 268.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01383/2.073, allocations: 3.78 MB / 1.621 GB, free: 267.7 MB / 1.295 GB Notification: Performance of SimCode: time 0.01709/2.09, allocations: 8.067 MB / 1.629 GB, free: 263.9 MB / 1.295 GB Notification: Performance of Templates: time 0.1132/2.203, allocations: 83.62 MB / 1.71 GB, free: 194.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.DHC.ETS.Cooling.Examples.Direct.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe ; mkfifo Buildings_12_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe >> ../files/Buildings_12_Buildings.DHC.ETS.Cooling.Examples.Direct.sim & ./Buildings_12_Buildings.DHC.ETS.Cooling.Examples.Direct -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.ETS.Cooling.Examples.Direct_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_ETS_Cooling_Examples_Direct.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.ETS.Cooling.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.766618126006506]