Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_Water,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|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,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|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001683/0.001684, allocations: 195 kB / 16.14 MB, free: 6.648 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.828/2.828, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.22 kB / 0.8984 GB, free: 37.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4128, allocations: 157.4 MB / 1.052 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03042/0.4433, allocations: 29.19 MB / 1.081 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.4549, allocations: 6.905 MB / 1.087 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.4572, allocations: 47.62 kB / 1.087 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002198/0.4595, allocations: 0.6066 MB / 1.088 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004828/0.4643, allocations: 1.338 MB / 1.089 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.468, allocations: 1.039 MB / 1.09 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004746/0.4727, allocations: 3.214 MB / 1.093 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.4745, allocations: 0.7272 MB / 1.094 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.4773, allocations: 0.9412 MB / 1.095 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.4792, allocations: 0.8246 MB / 1.096 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003636/0.4796, allocations: 47.98 kB / 1.096 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.4822, allocations: 0.7716 MB / 1.097 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.4828, allocations: 254.9 kB / 1.097 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.4841, allocations: 0.528 MB / 1.097 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003723/0.4878, allocations: 1.577 MB / 1.099 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.4878, allocations: 0 / 1.099 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4878, allocations: 0 / 1.099 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.591e-05/0.4879, allocations: 3.938 kB / 1.099 GB, free: 8.664 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.004027/0.492, allocations: 1.562 MB / 1.1 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.492, allocations: 12.03 kB / 1.101 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00378/0.4958, allocations: 0.5884 MB / 1.101 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.4976, allocations: 0.7939 MB / 1.102 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.331e-05/0.4977, allocations: 62.38 kB / 1.102 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.4979, allocations: 83.86 kB / 1.102 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/0.5008, allocations: 1.088 MB / 1.103 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.5008, allocations: 7.938 kB / 1.103 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.985e-05/0.5009, allocations: 36 kB / 1.103 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.5009, allocations: 20 kB / 1.103 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.5043, allocations: 0.9962 MB / 1.104 GB, free: 3.23 MB / 0.8575 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.00722/0.5115, allocations: 4.94 MB / 1.109 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.5145, allocations: 0.9002 MB / 1.11 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.516, allocations: 490.5 kB / 1.11 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001642/0.5177, allocations: 1.587 MB / 1.112 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001762/0.5195, allocations: 0.5767 MB / 1.112 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 3.838e-06/0.5195, allocations: 0 / 1.112 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.004918/0.5244, allocations: 1.481 MB / 1.114 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.5245, allocations: 55.97 kB / 1.114 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.5264, allocations: 1.124 MB / 1.115 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.69e-05/0.5265, allocations: 37.7 kB / 1.115 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005625/0.5271, allocations: 0.5512 MB / 1.116 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.5273, allocations: 201.1 kB / 1.116 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003338/0.5277, allocations: 170.4 kB / 1.116 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5279, allocations: 337.9 kB / 1.116 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.5293, allocations: 457.6 kB / 1.117 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.531, allocations: 0.7164 MB / 1.117 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/0.5341, allocations: 1.12 MB / 1.118 GB, free: 3.582 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.5341, allocations: 4 kB / 1.118 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003912/0.5381, allocations: 1.266 MB / 1.12 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.5381, allocations: 11.98 kB / 1.12 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.5381, allocations: 8 kB / 1.12 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/0.5382, allocations: 12 kB / 1.12 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.5394, allocations: 268.2 kB / 1.12 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.042e-05/0.5394, allocations: 19.92 kB / 1.12 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.5408, allocations: 203 kB / 1.12 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.541, allocations: 39.98 kB / 1.12 GB, free: 1.754 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.000622/0.5416, allocations: 301.2 kB / 1.121 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/0.542, allocations: 126.4 kB / 1.121 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004082/0.5461, allocations: 1.359 MB / 1.122 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/0.5461, allocations: 12.09 kB / 1.122 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.5461, allocations: 7.922 kB / 1.122 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.5462, allocations: 0 / 1.122 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005489/0.5516, allocations: 2.362 MB / 1.124 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.5517, allocations: 4 kB / 1.124 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.5527, allocations: 191.8 kB / 1.124 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.5527, allocations: 4 kB / 1.124 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.334e-05/0.5528, allocations: 27.97 kB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.5528, allocations: 4 kB / 1.125 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5528, allocations: 4 kB / 1.125 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005105/0.5579, allocations: 1.973 MB / 1.126 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000581/0.5585, allocations: 283.2 kB / 1.127 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002624/0.5588, allocations: 16 kB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.5599, allocations: 115.9 kB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.5601, allocations: 60.42 kB / 1.127 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.151e-05/0.5602, allocations: 35.97 kB / 1.127 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001238/0.5614, allocations: 0.7599 MB / 1.128 GB, free: 9.977 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5614, allocations: 4 kB / 1.128 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001412/0.5628, allocations: 343.6 kB / 1.128 GB, free: 9.637 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001851/0.5647, allocations: 0.65 MB / 1.129 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003514/0.5682, allocations: 1.111 MB / 1.13 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.5683, allocations: 4.062 kB / 1.13 GB, free: 8.031 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001675/0.5699, allocations: 0.5773 MB / 1.13 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/0.5725, allocations: 428.9 kB / 1.131 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005699/0.5782, allocations: 2.73 MB / 1.133 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008344/0.5791, allocations: 1.104 MB / 1.134 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001227/0.5803, allocations: 244.7 kB / 1.135 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.5807, allocations: 107.4 kB / 1.135 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of SimCode: time 1.793e-06/0.5807, allocations: 3.938 kB / 1.135 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of Templates: time 0.03704/0.6178, allocations: 19.06 MB / 1.153 GB, free: 15.96 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches