Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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_11_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_11_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.001578/0.001578, allocations: 113.8 kB / 16.81 MB, free: 5.766 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.001808/0.001808, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.466/1.466, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.66 kB / 1.097 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3156, allocations: 168.7 MB / 1.262 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03333/0.3489, allocations: 29.54 MB / 1.291 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.3596, allocations: 6.898 MB / 1.298 GB, free: 8.309 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.3606, allocations: 47.62 kB / 1.298 GB, free: 8.262 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.3623, allocations: 0.7031 MB / 1.298 GB, free: 7.555 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004086/0.3664, allocations: 1.512 MB / 1.3 GB, free: 6.035 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.3693, allocations: 1.166 MB / 1.301 GB, free: 4.875 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003491/0.3728, allocations: 2.5 MB / 1.303 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.3739, allocations: 0.6849 MB / 1.304 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.3757, allocations: 1.051 MB / 1.305 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.3769, allocations: 0.8636 MB / 1.306 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.377, allocations: 68 kB / 1.306 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.3788, allocations: 0.8537 MB / 1.307 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000314/0.3792, allocations: 282.8 kB / 1.307 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005911/0.3797, allocations: 0.5553 MB / 1.308 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.382, allocations: 1.626 MB / 1.309 GB, free: 12.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.382, allocations: 0 / 1.309 GB, free: 12.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.382, allocations: 3.938 kB / 1.309 GB, free: 12.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.382, allocations: 0 / 1.309 GB, free: 12.35 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002745/0.3848, allocations: 1.604 MB / 1.311 GB, free: 10.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3848, allocations: 12.03 kB / 1.311 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003666/0.3885, allocations: 0.5853 MB / 1.311 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.39, allocations: 0.8807 MB / 1.312 GB, free: 9.152 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.39, allocations: 58.38 kB / 1.312 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.3902, allocations: 79.92 kB / 1.312 GB, free: 9.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.3927, allocations: 1.096 MB / 1.314 GB, free: 7.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.3927, allocations: 3.938 kB / 1.314 GB, free: 7.836 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.28e-05/0.3928, allocations: 32 kB / 1.314 GB, free: 7.805 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.3928, allocations: 20 kB / 1.314 GB, free: 7.785 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003193/0.396, allocations: 1.004 MB / 1.315 GB, free: 6.781 MB / 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.00602/0.402, allocations: 4.956 MB / 1.319 GB, free: 1.543 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/0.4051, allocations: 0.8683 MB / 1.32 GB, free: 0.668 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.4067, allocations: 463 kB / 1.321 GB, free: 216 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/0.4084, allocations: 1.599 MB / 1.322 GB, free: 14.26 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001832/0.4102, allocations: 0.5689 MB / 1.323 GB, free: 13.68 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 3.807e-06/0.4102, allocations: 0 / 1.323 GB, free: 13.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.005102/0.4153, allocations: 1.493 MB / 1.324 GB, free: 12.18 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.4154, allocations: 63.95 kB / 1.324 GB, free: 12.11 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.4168, allocations: 1.116 MB / 1.325 GB, free: 10.98 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.4169, allocations: 41.7 kB / 1.325 GB, free: 10.93 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/0.4174, allocations: 0.5481 MB / 1.326 GB, free: 10.38 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.4176, allocations: 226.2 kB / 1.326 GB, free: 10.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.4179, allocations: 162.5 kB / 1.326 GB, free: 9.992 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4181, allocations: 338 kB / 1.327 GB, free: 9.656 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.4196, allocations: 449.6 kB / 1.327 GB, free: 9.219 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.4214, allocations: 0.7127 MB / 1.328 GB, free: 8.391 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003288/0.4247, allocations: 1.121 MB / 1.329 GB, free: 7.164 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.4247, allocations: 4 kB / 1.329 GB, free: 7.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003827/0.4286, allocations: 1.279 MB / 1.33 GB, free: 5.875 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.4286, allocations: 9.688 kB / 1.33 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4286, allocations: 12 kB / 1.33 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.4286, allocations: 12 kB / 1.33 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.4299, allocations: 263.6 kB / 1.33 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.55e-05/0.4299, allocations: 19.92 kB / 1.33 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.4311, allocations: 183.2 kB / 1.331 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.4312, allocations: 47.98 kB / 1.331 GB, free: 5.34 MB / 1.045 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.000483/0.4317, allocations: 299.7 kB / 1.331 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.4319, allocations: 127.1 kB / 1.331 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0041/0.436, allocations: 1.363 MB / 1.332 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.436, allocations: 11.92 kB / 1.332 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.436, allocations: 0 / 1.332 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005712/0.4366, allocations: 272 kB / 1.333 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.4368, allocations: 12 kB / 1.333 GB, free: 3.234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/0.4377, allocations: 111.8 kB / 1.333 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.4379, allocations: 52.44 kB / 1.333 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004588/0.4425, allocations: 1.343 MB / 1.334 GB, free: 1.723 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005564/0.448, allocations: 2.032 MB / 1.336 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001626/0.4497, allocations: 0.5119 MB / 1.337 GB, free: 15.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001027/0.4507, allocations: 0.7638 MB / 1.337 GB, free: 14.39 MB / 1.061 GB Notification: Performance of Backend: time 2.71e-07/0.4507, allocations: 0 / 1.337 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004798/0.4555, allocations: 1.324 MB / 1.339 GB, free: 13.23 MB / 1.061 GB Notification: Performance of SimCode: time 0.004235/0.4597, allocations: 2.589 MB / 1.341 GB, free: 10.59 MB / 1.061 GB Notification: Performance of Templates: time 0.03959/0.4993, allocations: 22.17 MB / 1.363 GB, free: 4.68 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches