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.00158/0.001581, allocations: 109.5 kB / 16.42 MB, free: 5.953 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.001736/0.001736, allocations: 188.3 kB / 17.35 MB, free: 5.582 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.75/1.75, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.527/2.527, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.91 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7223, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03125/0.7536, allocations: 29.33 MB / 1.237 GB, free: 152 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.7639, allocations: 6.881 MB / 1.244 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.765, allocations: 47.69 kB / 1.244 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.7667, allocations: 0.6914 MB / 1.245 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004045/0.7707, allocations: 1.462 MB / 1.246 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.7739, allocations: 1.152 MB / 1.247 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003208/0.7771, allocations: 2.473 MB / 1.25 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.7784, allocations: 0.7941 MB / 1.25 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.7803, allocations: 1.043 MB / 1.251 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.7816, allocations: 0.813 MB / 1.252 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.7817, allocations: 64 kB / 1.252 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.7835, allocations: 0.8187 MB / 1.253 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003507/0.7838, allocations: 279 kB / 1.253 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006347/0.7845, allocations: 0.5553 MB / 1.254 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.7869, allocations: 1.614 MB / 1.255 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7869, allocations: 0 / 1.255 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.143e-06/0.7869, allocations: 0 / 1.255 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.72e-05/0.7869, allocations: 0 / 1.255 GB, free: 13.41 MB / 0.9825 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.002813/0.7898, allocations: 1.57 MB / 1.257 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.7898, allocations: 8.031 kB / 1.257 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003529/0.7933, allocations: 0.5923 MB / 1.257 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.7949, allocations: 0.8602 MB / 1.258 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.947e-05/0.7949, allocations: 58.38 kB / 1.258 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.7951, allocations: 79.94 kB / 1.258 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.7975, allocations: 1.096 MB / 1.259 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.7975, allocations: 4 kB / 1.26 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.982e-05/0.7976, allocations: 32 kB / 1.26 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.7976, allocations: 20 kB / 1.26 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003068/0.8007, allocations: 1 MB / 1.261 GB, free: 7.906 MB / 0.9825 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.005972/0.8067, allocations: 4.939 MB / 1.265 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003008/0.8097, allocations: 0.9107 MB / 1.266 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.8112, allocations: 488.8 kB / 1.267 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/0.8128, allocations: 1.588 MB / 1.268 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00169/0.8145, allocations: 0.5844 MB / 1.269 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=61): time 3.346e-06/0.8145, allocations: 0 / 1.269 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=61): time 0.004814/0.8193, allocations: 1.485 MB / 1.27 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.8194, allocations: 63.97 kB / 1.27 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.8212, allocations: 1.112 MB / 1.271 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.113e-05/0.8213, allocations: 37.7 kB / 1.271 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.8217, allocations: 0.5434 MB / 1.272 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.8219, allocations: 217 kB / 1.272 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.8222, allocations: 162.5 kB / 1.272 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.8223, allocations: 338 kB / 1.273 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.8238, allocations: 449.6 kB / 1.273 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.8254, allocations: 0.7128 MB / 1.274 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003003/0.8285, allocations: 1.12 MB / 1.275 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.8285, allocations: 0 / 1.275 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003561/0.832, allocations: 1.282 MB / 1.276 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.8321, allocations: 12.03 kB / 1.276 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.8321, allocations: 8 kB / 1.276 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.8321, allocations: 12 kB / 1.276 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.8334, allocations: 263.6 kB / 1.276 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.8334, allocations: 15.94 kB / 1.276 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.8346, allocations: 183 kB / 1.277 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/0.8347, allocations: 43.97 kB / 1.277 GB, free: 6.434 MB / 0.9981 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.0004212/0.8351, allocations: 291.8 kB / 1.277 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.8353, allocations: 122.4 kB / 1.277 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.8391, allocations: 1.359 MB / 1.278 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.8391, allocations: 7.922 kB / 1.278 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.8391, allocations: 0 / 1.278 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/0.8395, allocations: 279.3 kB / 1.279 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.8397, allocations: 12 kB / 1.279 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000921/0.8406, allocations: 103.9 kB / 1.279 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/0.8407, allocations: 48.5 kB / 1.279 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004108/0.8449, allocations: 1.339 MB / 1.28 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005057/0.8499, allocations: 2.031 MB / 1.282 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001524/0.8515, allocations: 0.551 MB / 1.283 GB, free: 252 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001047/0.8525, allocations: 0.7639 MB / 1.283 GB, free: 15.47 MB / 1.014 GB Notification: Performance of Backend: time 2.334e-06/0.8525, allocations: 0 / 1.283 GB, free: 15.47 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004238/0.8568, allocations: 1.333 MB / 1.285 GB, free: 14.3 MB / 1.014 GB Notification: Performance of SimCode: time 0.003954/0.8608, allocations: 2.564 MB / 1.287 GB, free: 11.69 MB / 1.014 GB Notification: Performance of Templates: time 0.03549/0.8963, allocations: 22.25 MB / 1.309 GB, free: 5.707 MB / 1.029 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/jenkins1/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