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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001575/0.001575, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 472.7 MB / 0.7452 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 64.77 kB / 0.9121 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3906, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03133/0.4219, allocations: 29.33 MB / 1.097 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.4331, allocations: 6.875 MB / 1.104 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.4347, allocations: 47.69 kB / 1.104 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.4363, allocations: 0.6953 MB / 1.104 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004088/0.4404, allocations: 1.454 MB / 1.106 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.4435, allocations: 1.148 MB / 1.107 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003634/0.4472, allocations: 2.469 MB / 1.109 GB, free: 212 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.4485, allocations: 0.8062 MB / 1.11 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.451, allocations: 1.004 MB / 1.111 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.4525, allocations: 0.8169 MB / 1.112 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.4527, allocations: 68 kB / 1.112 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.4547, allocations: 0.8149 MB / 1.113 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.455, allocations: 267 kB / 1.113 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005591/0.4556, allocations: 0.5631 MB / 1.113 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.4576, allocations: 1.585 MB / 1.115 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4577, allocations: 0 / 1.115 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4577, allocations: 4 kB / 1.115 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.4577, allocations: 0 / 1.115 GB, free: 10.25 MB / 0.8731 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.002542/0.4602, allocations: 1.562 MB / 1.117 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4603, allocations: 12.03 kB / 1.117 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/0.4638, allocations: 0.5884 MB / 1.117 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.4652, allocations: 0.8017 MB / 1.118 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/0.4652, allocations: 58.38 kB / 1.118 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.4654, allocations: 71.94 kB / 1.118 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.4679, allocations: 1.103 MB / 1.119 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.4679, allocations: 0 / 1.119 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.013e-05/0.468, allocations: 28 kB / 1.119 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.468, allocations: 20 kB / 1.119 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003046/0.4711, allocations: 1.004 MB / 1.12 GB, free: 4.816 MB / 0.8731 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.005699/0.4768, allocations: 4.97 MB / 1.125 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/0.4798, allocations: 0.8982 MB / 1.126 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.4812, allocations: 492.1 kB / 1.126 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/0.4829, allocations: 1.584 MB / 1.128 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/0.4845, allocations: 0.5806 MB / 1.128 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 5.992e-06/0.4846, allocations: 4 kB / 1.128 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.004849/0.4894, allocations: 1.473 MB / 1.13 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.4895, allocations: 55.97 kB / 1.13 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.4908, allocations: 1.124 MB / 1.131 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.903e-05/0.4909, allocations: 37.7 kB / 1.131 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004506/0.4914, allocations: 0.5434 MB / 1.132 GB, free: 8.363 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.4916, allocations: 213 kB / 1.132 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.4919, allocations: 170.5 kB / 1.132 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.492, allocations: 333.9 kB / 1.132 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.4934, allocations: 453.6 kB / 1.133 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.4951, allocations: 0.7164 MB / 1.133 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003038/0.4981, allocations: 1.12 MB / 1.135 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.4982, allocations: 8 kB / 1.135 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003643/0.5018, allocations: 1.27 MB / 1.136 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.5019, allocations: 18.42 kB / 1.136 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.5019, allocations: 8 kB / 1.136 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.5019, allocations: 16 kB / 1.136 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.5031, allocations: 267.6 kB / 1.136 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/0.5031, allocations: 19.92 kB / 1.136 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.5044, allocations: 178.9 kB / 1.136 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.221e-05/0.5045, allocations: 47.97 kB / 1.136 GB, free: 3.32 MB / 0.8887 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.0004888/0.5049, allocations: 293.5 kB / 1.137 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.5051, allocations: 122.4 kB / 1.137 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/0.5089, allocations: 1.367 MB / 1.138 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.5089, allocations: 4 kB / 1.138 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.5089, allocations: 4 kB / 1.138 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.5089, allocations: 3.984 kB / 1.138 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004844/0.5138, allocations: 2.37 MB / 1.14 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.5138, allocations: 192 / 1.14 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009963/0.5148, allocations: 191.7 kB / 1.141 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.5148, allocations: 4 kB / 1.141 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.248e-05/0.5149, allocations: 19.98 kB / 1.141 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.5149, allocations: 11.92 kB / 1.141 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.5149, allocations: 4 kB / 1.141 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005038/0.52, allocations: 1.977 MB / 1.143 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/0.5205, allocations: 275.4 kB / 1.143 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.5206, allocations: 16 kB / 1.143 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009076/0.5215, allocations: 107.9 kB / 1.143 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.5217, allocations: 52.42 kB / 1.143 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.506e-05/0.5218, allocations: 39.97 kB / 1.143 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008947/0.5227, allocations: 0.7638 MB / 1.144 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5227, allocations: 0 / 1.144 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001065/0.5237, allocations: 335.6 kB / 1.144 GB, free: 11.23 MB / 0.9044 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.001507/0.5253, allocations: 0.6582 MB / 1.145 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003616/0.5289, allocations: 1.188 MB / 1.146 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5289, allocations: 0 / 1.146 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.5305, allocations: 0.5775 MB / 1.146 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.5327, allocations: 453.5 kB / 1.147 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005029/0.5377, allocations: 2.361 MB / 1.149 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006009/0.5384, allocations: 1.114 MB / 1.15 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009934/0.5394, allocations: 240.7 kB / 1.15 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.5397, allocations: 107.3 kB / 1.151 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of SimCode: time 4.8e-07/0.5397, allocations: 0 / 1.151 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of Templates: time 0.03411/0.5738, allocations: 19.87 MB / 1.17 GB, free: 1.027 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