Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_X_wSetOnly,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_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,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_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 109.1 kB / 16.42 MB, free: 6.461 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.001784/0.001784, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.405/2.405, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 71.83 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6712/0.6724, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.186/0.8584, allocations: 193.8 MB / 1.357 GB, free: 1.312 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0083/0.8668, allocations: 5.151 MB / 1.362 GB, free: 12.15 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007718/0.8676, allocations: 47.69 kB / 1.362 GB, free: 12.1 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.8693, allocations: 0.8237 MB / 1.363 GB, free: 11.27 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005315/0.8746, allocations: 2.688 MB / 1.365 GB, free: 8.574 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.877, allocations: 1.109 MB / 1.366 GB, free: 7.473 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002663/0.8796, allocations: 2.621 MB / 1.369 GB, free: 4.844 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.8808, allocations: 0.894 MB / 1.37 GB, free: 3.938 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.8825, allocations: 1.125 MB / 1.371 GB, free: 2.809 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.8838, allocations: 0.9456 MB / 1.372 GB, free: 1.859 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.8839, allocations: 80 kB / 1.372 GB, free: 1.781 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.8869, allocations: 1.793 MB / 1.373 GB, free: 15.98 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004989/0.8874, allocations: 434.6 kB / 1.374 GB, free: 15.56 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008258/0.8882, allocations: 0.641 MB / 1.375 GB, free: 14.91 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003064/0.8913, allocations: 2.157 MB / 1.377 GB, free: 12.75 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8913, allocations: 7.938 kB / 1.377 GB, free: 12.74 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8914, allocations: 0 / 1.377 GB, free: 12.74 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.317e-05/0.8914, allocations: 0 / 1.377 GB, free: 12.74 MB / 1.107 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.005214/0.8966, allocations: 1.926 MB / 1.379 GB, free: 10.76 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.8967, allocations: 8.922 kB / 1.379 GB, free: 10.75 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/0.9008, allocations: 0.6615 MB / 1.379 GB, free: 10.09 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.9025, allocations: 0.941 MB / 1.38 GB, free: 9.09 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.199e-05/0.9026, allocations: 73.92 kB / 1.38 GB, free: 9.016 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.9028, allocations: 91.94 kB / 1.38 GB, free: 8.926 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.906, allocations: 1.462 MB / 1.382 GB, free: 7.391 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.9061, allocations: 4 kB / 1.382 GB, free: 7.387 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.9062, allocations: 39.98 kB / 1.382 GB, free: 7.348 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.875e-05/0.9063, allocations: 53.97 kB / 1.382 GB, free: 7.293 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004244/0.9105, allocations: 1.518 MB / 1.383 GB, free: 5.777 MB / 1.107 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.007292/0.9178, allocations: 5.479 MB / 1.389 GB, free: 8 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0039/0.9217, allocations: 1.278 MB / 1.39 GB, free: 14.72 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.9235, allocations: 0.6658 MB / 1.391 GB, free: 14.06 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008701/0.9244, allocations: 0.5773 MB / 1.391 GB, free: 13.37 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001932/0.9263, allocations: 0.7107 MB / 1.392 GB, free: 12.64 MB / 1.123 GB Notification: Performance of pre-optimization done (n=80): time 3.056e-06/0.9263, allocations: 0 / 1.392 GB, free: 12.64 MB / 1.123 GB Notification: Performance of matching and sorting (n=80): time 0.005825/0.9322, allocations: 1.882 MB / 1.394 GB, free: 10.75 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.9322, allocations: 60.06 kB / 1.394 GB, free: 10.68 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.9337, allocations: 1.239 MB / 1.395 GB, free: 9.438 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.466e-05/0.9338, allocations: 45.7 kB / 1.395 GB, free: 9.387 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004744/0.9343, allocations: 0.5753 MB / 1.395 GB, free: 8.805 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.9346, allocations: 280.1 kB / 1.396 GB, free: 8.527 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.9349, allocations: 186.5 kB / 1.396 GB, free: 8.34 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.935, allocations: 341.9 kB / 1.396 GB, free: 8 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.9367, allocations: 0.5367 MB / 1.397 GB, free: 7.461 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.9386, allocations: 0.8213 MB / 1.398 GB, free: 6.531 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0035/0.9422, allocations: 1.324 MB / 1.399 GB, free: 5.105 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.9422, allocations: 0 / 1.399 GB, free: 5.105 MB / 1.123 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004009/0.9462, allocations: 1.502 MB / 1.4 GB, free: 3.594 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.9462, allocations: 14.12 kB / 1.4 GB, free: 3.582 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.9462, allocations: 8.875 kB / 1.4 GB, free: 3.574 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.9463, allocations: 12 kB / 1.4 GB, free: 3.562 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.9478, allocations: 295.5 kB / 1.401 GB, free: 3.273 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.683e-05/0.9478, allocations: 19.92 kB / 1.401 GB, free: 3.254 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.9491, allocations: 194.8 kB / 1.401 GB, free: 3.062 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/0.9492, allocations: 47.98 kB / 1.401 GB, free: 3.016 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0005027/0.9497, allocations: 343.7 kB / 1.401 GB, free: 2.672 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.95, allocations: 138.3 kB / 1.401 GB, free: 2.535 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.9541, allocations: 1.412 MB / 1.403 GB, free: 1.113 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.9541, allocations: 3.984 kB / 1.403 GB, free: 1.109 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.9541, allocations: 0 / 1.403 GB, free: 1.109 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005019/0.9546, allocations: 287.3 kB / 1.403 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.9548, allocations: 19.98 kB / 1.403 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.9559, allocations: 107.9 kB / 1.403 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.956, allocations: 44.59 kB / 1.403 GB, free: 0.6406 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004641/0.9606, allocations: 1.426 MB / 1.405 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005638/0.9663, allocations: 2.216 MB / 1.407 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001706/0.968, allocations: 0.5828 MB / 1.407 GB, free: 12.39 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001078/0.9691, allocations: 0.8522 MB / 1.408 GB, free: 11.54 MB / 1.139 GB Notification: Performance of Backend: time 4.41e-07/0.9691, allocations: 0 / 1.408 GB, free: 11.54 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004524/0.9736, allocations: 1.562 MB / 1.41 GB, free: 10.14 MB / 1.139 GB Notification: Performance of SimCode: time 0.004889/0.9785, allocations: 2.827 MB / 1.412 GB, free: 7.27 MB / 1.139 GB Notification: Performance of Templates: time 0.04302/1.022, allocations: 27.49 MB / 1.439 GB, free: 12 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches