Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.00153, allocations: 115.2 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 185.7 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.589/2.589, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 1.07 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7019/0.7034, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1963/0.8998, allocations: 193.8 MB / 1.416 GB, free: 10.91 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.008707/0.9085, allocations: 5.14 MB / 1.421 GB, free: 5.762 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.9097, allocations: 47.69 kB / 1.421 GB, free: 5.715 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.9117, allocations: 0.8276 MB / 1.422 GB, free: 4.883 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006061/0.9178, allocations: 2.688 MB / 1.424 GB, free: 2.184 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.9204, allocations: 1.108 MB / 1.425 GB, free: 1.082 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003273/0.9237, allocations: 2.617 MB / 1.428 GB, free: 14.46 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.9252, allocations: 0.8893 MB / 1.429 GB, free: 13.55 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.9272, allocations: 1.121 MB / 1.43 GB, free: 12.43 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.9287, allocations: 0.9534 MB / 1.431 GB, free: 11.47 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000252/0.929, allocations: 84 kB / 1.431 GB, free: 11.39 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003354/0.9324, allocations: 1.804 MB / 1.433 GB, free: 9.582 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005257/0.9329, allocations: 442.5 kB / 1.433 GB, free: 9.148 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009425/0.9339, allocations: 0.6488 MB / 1.434 GB, free: 8.496 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003695/0.9376, allocations: 2.168 MB / 1.436 GB, free: 6.32 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9376, allocations: 3.938 kB / 1.436 GB, free: 6.316 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9376, allocations: 0 / 1.436 GB, free: 6.316 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.345e-05/0.9377, allocations: 0 / 1.436 GB, free: 6.316 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005237/0.9429, allocations: 1.975 MB / 1.438 GB, free: 4.281 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.9429, allocations: 8.031 kB / 1.438 GB, free: 4.273 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004486/0.9474, allocations: 0.7207 MB / 1.438 GB, free: 3.551 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.9492, allocations: 0.9617 MB / 1.439 GB, free: 2.535 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.9493, allocations: 62 kB / 1.439 GB, free: 2.473 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.9495, allocations: 95.97 kB / 1.439 GB, free: 2.379 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003351/0.9529, allocations: 1.473 MB / 1.441 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.9529, allocations: 0 / 1.441 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.953, allocations: 32 kB / 1.441 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.089e-05/0.9531, allocations: 49.98 kB / 1.441 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00432/0.9574, allocations: 1.565 MB / 1.442 GB, free: 15.21 MB / 1.17 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.007033/0.9645, allocations: 5.023 MB / 1.447 GB, free: 9.918 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003384/0.9678, allocations: 1.188 MB / 1.449 GB, free: 8.723 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.9696, allocations: 0.6594 MB / 1.449 GB, free: 8.062 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.9708, allocations: 0.9371 MB / 1.45 GB, free: 6.938 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001909/0.9728, allocations: 0.7302 MB / 1.451 GB, free: 6.195 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 3.667e-06/0.9728, allocations: 0 / 1.451 GB, free: 6.195 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.006039/0.9788, allocations: 1.953 MB / 1.453 GB, free: 4.234 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.9789, allocations: 64.06 kB / 1.453 GB, free: 4.16 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.9805, allocations: 1.268 MB / 1.454 GB, free: 2.887 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.537e-05/0.9806, allocations: 45.7 kB / 1.454 GB, free: 2.836 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/0.9811, allocations: 0.5724 MB / 1.455 GB, free: 2.258 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/0.9813, allocations: 301.5 kB / 1.455 GB, free: 1.961 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.9817, allocations: 182.5 kB / 1.455 GB, free: 1.777 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.9818, allocations: 349.9 kB / 1.455 GB, free: 1.43 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.9834, allocations: 0.5483 MB / 1.456 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.9853, allocations: 0.8208 MB / 1.457 GB, free: 15.95 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/0.9886, allocations: 1.344 MB / 1.458 GB, free: 14.52 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.9886, allocations: 4 kB / 1.458 GB, free: 14.51 MB / 1.186 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00397/0.9926, allocations: 1.523 MB / 1.46 GB, free: 12.98 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.9926, allocations: 11.94 kB / 1.46 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.9926, allocations: 4 kB / 1.46 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.9927, allocations: 12 kB / 1.46 GB, free: 12.95 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.9942, allocations: 287.8 kB / 1.46 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.44e-05/0.9942, allocations: 23.92 kB / 1.46 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.9956, allocations: 199.1 kB / 1.46 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.9958, allocations: 51.91 kB / 1.46 GB, free: 12.4 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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 0.0005475/0.9963, allocations: 343.7 kB / 1.46 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.9966, allocations: 143 kB / 1.461 GB, free: 11.91 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/1.001, allocations: 1.448 MB / 1.462 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/1.001, allocations: 3.984 kB / 1.462 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.001, allocations: 4 kB / 1.462 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005031/1.001, allocations: 299.9 kB / 1.462 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/1.001, allocations: 27.92 kB / 1.462 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.003, allocations: 107.9 kB / 1.462 GB, free: 10 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.003, allocations: 48.58 kB / 1.462 GB, free: 9.953 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004628/1.007, allocations: 1.469 MB / 1.464 GB, free: 8.473 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005482/1.013, allocations: 2.288 MB / 1.466 GB, free: 6.168 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001635/1.015, allocations: 0.614 MB / 1.467 GB, free: 5.555 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001116/1.016, allocations: 0.8762 MB / 1.468 GB, free: 4.676 MB / 1.186 GB Notification: Performance of Backend: time 5.41e-07/1.016, allocations: 0 / 1.468 GB, free: 4.676 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004558/1.02, allocations: 1.568 MB / 1.469 GB, free: 3.277 MB / 1.186 GB Notification: Performance of SimCode: time 0.004662/1.025, allocations: 2.914 MB / 1.472 GB, free: 324 kB / 1.186 GB Notification: Performance of Templates: time 0.0448/1.07, allocations: 28.54 MB / 1.5 GB, free: 4.039 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches