Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9639/0.9639, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.891/1.891, allocations: 377.8 MB / 0.6239 GB, free: 8.586 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8116 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.551e-05, allocations: 4.844 kB / 0.8116 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03779/0.0378, allocations: 56.68 MB / 0.8669 GB, free: 9.262 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01135/0.04915, allocations: 10.73 MB / 0.8774 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008309/0.04998, allocations: 95.12 kB / 0.8775 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.05142, allocations: 0.9161 MB / 0.8784 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.0544, allocations: 2.14 MB / 0.8805 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003261/0.05766, allocations: 2.13 MB / 0.8825 GB, free: 9.203 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00263/0.06029, allocations: 3.838 MB / 0.8863 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008559/0.06115, allocations: 1.018 MB / 0.8873 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003019/0.06417, allocations: 2.464 MB / 0.8897 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.06541, allocations: 1.067 MB / 0.8907 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.06557, allocations: 108 kB / 0.8908 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.06792, allocations: 1.06 MB / 0.8919 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004034/0.06833, allocations: 418.2 kB / 0.8923 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006647/0.06899, allocations: 0.5688 MB / 0.8928 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.07169, allocations: 1.981 MB / 0.8948 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.0717, allocations: 8 kB / 0.8948 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.874e-06/0.0717, allocations: 0 / 0.8948 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.07171, allocations: 0 / 0.8948 GB, free: 12.62 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002863/0.07457, allocations: 2.207 MB / 0.8969 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.07463, allocations: 8.031 kB / 0.8969 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.07692, allocations: 0.6349 MB / 0.8976 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.07864, allocations: 1.15 MB / 0.8987 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.37e-05/0.07871, allocations: 82.14 kB / 0.8988 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.07887, allocations: 104 kB / 0.8989 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.08092, allocations: 1.31 MB / 0.9001 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.08095, allocations: 7.938 kB / 0.9001 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.08105, allocations: 44 kB / 0.9002 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.08108, allocations: 31.98 kB / 0.9002 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.08233, allocations: 0.5772 MB / 0.9008 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00565/0.08798, allocations: 7.963 MB / 0.9086 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.08916, allocations: 0.5838 MB / 0.9091 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.08949, allocations: 231.2 kB / 0.9093 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005038/0.08999, allocations: 277.3 kB / 0.9096 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005132/0.0905, allocations: 374.3 kB / 0.91 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=85): time 3.176e-06/0.09051, allocations: 0 / 0.91 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85): time 0.001415/0.09192, allocations: 0.9211 MB / 0.9109 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.09197, allocations: 60.41 kB / 0.9109 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000949/0.09291, allocations: 1.24 MB / 0.9121 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/0.09297, allocations: 49.69 kB / 0.9122 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.09341, allocations: 0.8656 MB / 0.913 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.09359, allocations: 313.4 kB / 0.9133 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.0938, allocations: 236.4 kB / 0.9135 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.09396, allocations: 0.5199 MB / 0.9141 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.09429, allocations: 198.5 kB / 0.9142 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/0.09495, allocations: 0.944 MB / 0.9152 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009953/0.09595, allocations: 0.9435 MB / 0.9161 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.09595, allocations: 4 kB / 0.9161 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001282/0.09724, allocations: 1.027 MB / 0.9171 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.09726, allocations: 12.97 kB / 0.9171 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.09727, allocations: 8 kB / 0.9171 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.0973, allocations: 24 kB / 0.9171 GB, free: 4.527 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/0.09794, allocations: 307.5 kB / 0.9174 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.09796, allocations: 27.92 kB / 0.9175 GB, free: 4.199 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/0.09846, allocations: 163.1 kB / 0.9176 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.09857, allocations: 67.95 kB / 0.9177 GB, free: 3.973 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0003396/0.09891, allocations: 242.1 kB / 0.9179 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.0991, allocations: 191 kB / 0.9181 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.1008, allocations: 1.361 MB / 0.9194 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/0.1008, allocations: 15.98 kB / 0.9194 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1009, allocations: 0 / 0.9194 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1009, allocations: 7.969 kB / 0.9194 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.1033, allocations: 2.259 MB / 0.9217 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.1033, allocations: 0 / 0.9217 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.1038, allocations: 203.8 kB / 0.9218 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.1038, allocations: 4 kB / 0.9218 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.489e-05/0.1039, allocations: 43.95 kB / 0.9219 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1039, allocations: 4 kB / 0.9219 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1039, allocations: 7.938 kB / 0.9219 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.1057, allocations: 1.506 MB / 0.9234 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.106, allocations: 310.2 kB / 0.9237 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.1061, allocations: 27.98 kB / 0.9237 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.1065, allocations: 79.92 kB / 0.9238 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.1066, allocations: 80.8 kB / 0.9238 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.1067, allocations: 51.95 kB / 0.9239 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005974/0.1073, allocations: 0.7451 MB / 0.9246 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1073, allocations: 0 / 0.9246 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001021/0.1083, allocations: 0.5651 MB / 0.9252 GB, free: 12.14 MB / 0.8855 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 (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.001436/0.1098, allocations: 0.8243 MB / 0.926 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.1108, allocations: 0.7694 MB / 0.9267 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1108, allocations: 128 / 0.9267 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.1113, allocations: 452 kB / 0.9272 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.1128, allocations: 0.649 MB / 0.9278 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.1158, allocations: 2.637 MB / 0.9304 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.116, allocations: 310.6 kB / 0.9307 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006569/0.1167, allocations: 335.3 kB / 0.931 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.117, allocations: 160.4 kB / 0.9311 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of SimCode: time 1.072e-06/0.117, allocations: 0 / 0.9311 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of Templates: time 0.03241/0.1494, allocations: 30.63 MB / 0.9611 GB, free: 8.129 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.817987710004672]