Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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_9_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_9_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.001643/0.001643, allocations: 119 kB / 16.42 MB, free: 6.473 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.001921/0.001921, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6482/0.6496, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2027/0.8524, allocations: 193.8 MB / 1.278 GB, free: 11.81 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008424/0.8608, allocations: 5.154 MB / 1.283 GB, free: 6.648 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.862, allocations: 47.69 kB / 1.283 GB, free: 6.602 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.8639, allocations: 0.8198 MB / 1.284 GB, free: 5.777 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005755/0.8697, allocations: 2.692 MB / 1.286 GB, free: 3.074 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.8722, allocations: 1.109 MB / 1.288 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002944/0.8751, allocations: 2.613 MB / 1.29 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.8764, allocations: 0.8979 MB / 1.291 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.8783, allocations: 1.121 MB / 1.292 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.8796, allocations: 0.9534 MB / 1.293 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.8798, allocations: 84 kB / 1.293 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.8829, allocations: 1.789 MB / 1.295 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004486/0.8834, allocations: 450.5 kB / 1.295 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007355/0.8841, allocations: 0.6448 MB / 1.296 GB, free: 9.395 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.8871, allocations: 2.173 MB / 1.298 GB, free: 7.215 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8871, allocations: 0 / 1.298 GB, free: 7.215 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8871, allocations: 0 / 1.298 GB, free: 7.215 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.635e-05/0.8872, allocations: 0 / 1.298 GB, free: 7.215 MB / 1.029 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.005108/0.8923, allocations: 1.924 MB / 1.3 GB, free: 5.238 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.8923, allocations: 12.03 kB / 1.3 GB, free: 5.227 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004503/0.8968, allocations: 0.7005 MB / 1.301 GB, free: 4.523 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.8985, allocations: 0.9682 MB / 1.302 GB, free: 3.496 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.8985, allocations: 62 kB / 1.302 GB, free: 3.438 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.8987, allocations: 88 kB / 1.302 GB, free: 3.352 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/0.9019, allocations: 1.469 MB / 1.303 GB, free: 1.824 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.9019, allocations: 0 / 1.303 GB, free: 1.824 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.902, allocations: 32 kB / 1.303 GB, free: 1.793 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.784e-05/0.9021, allocations: 57.91 kB / 1.303 GB, free: 1.738 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004184/0.9063, allocations: 1.557 MB / 1.305 GB, free: 180 kB / 1.029 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.006373/0.9127, allocations: 5.003 MB / 1.31 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/0.9162, allocations: 1.184 MB / 1.311 GB, free: 9.715 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.918, allocations: 0.6741 MB / 1.311 GB, free: 9.039 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.9191, allocations: 0.9371 MB / 1.312 GB, free: 7.918 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001886/0.921, allocations: 0.7302 MB / 1.313 GB, free: 7.172 MB / 1.045 GB Notification: Performance of pre-optimization done (n=82): time 2.785e-06/0.921, allocations: 0 / 1.313 GB, free: 7.172 MB / 1.045 GB Notification: Performance of matching and sorting (n=82): time 0.005906/0.927, allocations: 1.952 MB / 1.315 GB, free: 5.215 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.927, allocations: 64.06 kB / 1.315 GB, free: 5.141 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.9283, allocations: 1.268 MB / 1.316 GB, free: 3.867 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.62e-05/0.9284, allocations: 41.7 kB / 1.316 GB, free: 3.82 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.9288, allocations: 0.5716 MB / 1.317 GB, free: 3.242 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.929, allocations: 276.1 kB / 1.317 GB, free: 2.969 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.9293, allocations: 182.4 kB / 1.317 GB, free: 2.781 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.9294, allocations: 345.9 kB / 1.318 GB, free: 2.438 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.9311, allocations: 0.5484 MB / 1.318 GB, free: 1.891 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.9329, allocations: 0.8286 MB / 1.319 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/0.9363, allocations: 1.336 MB / 1.32 GB, free: 15.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.9363, allocations: 4 kB / 1.32 GB, free: 15.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00392/0.9402, allocations: 1.515 MB / 1.322 GB, free: 14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.9403, allocations: 8 kB / 1.322 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.9403, allocations: 8 kB / 1.322 GB, free: 13.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.9403, allocations: 12 kB / 1.322 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.9418, allocations: 295.7 kB / 1.322 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.9418, allocations: 19.94 kB / 1.322 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.9431, allocations: 194.7 kB / 1.322 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-05/0.9432, allocations: 51.97 kB / 1.322 GB, free: 13.43 MB / 1.061 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.0004729/0.9437, allocations: 347.6 kB / 1.323 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.9439, allocations: 138.3 kB / 1.323 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/0.9478, allocations: 1.444 MB / 1.324 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.9479, allocations: 3.984 kB / 1.324 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9479, allocations: 0 / 1.324 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/0.9484, allocations: 295.2 kB / 1.324 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.9486, allocations: 19.94 kB / 1.324 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.9496, allocations: 107.9 kB / 1.325 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.9498, allocations: 48.59 kB / 1.325 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004559/0.9543, allocations: 1.465 MB / 1.326 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005551/0.9599, allocations: 2.291 MB / 1.328 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001639/0.9615, allocations: 0.6061 MB / 1.329 GB, free: 6.609 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001009/0.9626, allocations: 0.8801 MB / 1.33 GB, free: 5.727 MB / 1.061 GB Notification: Performance of Backend: time 2.41e-07/0.9626, allocations: 4.094 kB / 1.33 GB, free: 5.723 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004303/0.9669, allocations: 1.56 MB / 1.331 GB, free: 4.332 MB / 1.061 GB Notification: Performance of SimCode: time 0.004342/0.9712, allocations: 2.87 MB / 1.334 GB, free: 1.422 MB / 1.061 GB Notification: Performance of Templates: time 0.04167/1.013, allocations: 28.55 MB / 1.362 GB, free: 5.16 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches