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.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.001138/0.001138, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001057/0.001057, allocations: 169 kB / 24.06 MB, free: 456 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.9614/0.9614, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.078/2.078, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 3.984 kB / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/2.109e-05, allocations: 7.188 kB / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01799/0.01801, allocations: 13.4 MB / 0.8925 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00642/0.02443, allocations: 4.946 MB / 0.8974 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.02575, allocations: 91.19 kB / 0.8974 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.0269, allocations: 0.6133 MB / 0.898 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.02989, allocations: 1.569 MB / 0.8996 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.03257, allocations: 1.501 MB / 0.901 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.004197/0.03677, allocations: 3.775 MB / 0.9047 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.03828, allocations: 0.9881 MB / 0.9057 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.04091, allocations: 1.855 MB / 0.9075 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.04216, allocations: 1.024 MB / 0.9085 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.04235, allocations: 108 kB / 0.9086 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006454/0.04299, allocations: 327.5 kB / 0.9089 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.04327, allocations: 410.2 kB / 0.9093 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005491/0.04382, allocations: 0.5649 MB / 0.9099 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.04538, allocations: 1.409 MB / 0.9112 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.04538, allocations: 0 / 0.9112 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.112e-06/0.04538, allocations: 4 kB / 0.9112 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.015e-05/0.04543, allocations: 0 / 0.9112 GB, free: 5.316 MB / 0.8698 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.00231/0.04774, allocations: 2.11 MB / 0.9133 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.04778, allocations: 12.03 kB / 0.9133 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.04928, allocations: 0.5959 MB / 0.9139 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.05058, allocations: 1.122 MB / 0.915 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/0.05064, allocations: 82.14 kB / 0.9151 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.05076, allocations: 115.9 kB / 0.9152 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.05213, allocations: 1.212 MB / 0.9164 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.05215, allocations: 3.938 kB / 0.9164 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.557e-05/0.05222, allocations: 48 kB / 0.9164 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.05224, allocations: 32 kB / 0.9164 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006098/0.05285, allocations: 461.1 kB / 0.9169 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004953/0.0578, allocations: 7.682 MB / 0.9244 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009304/0.05874, allocations: 0.4974 MB / 0.9249 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.05896, allocations: 192.3 kB / 0.9251 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/0.05921, allocations: 88.56 kB / 0.9251 GB, free: 6.496 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004204/0.05963, allocations: 342.1 kB / 0.9255 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 3.697e-06/0.05964, allocations: 0 / 0.9255 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.001207/0.06084, allocations: 0.7962 MB / 0.9262 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.06088, allocations: 68.39 kB / 0.9263 GB, free: 5.27 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008502/0.06173, allocations: 1.199 MB / 0.9275 GB, free: 4.039 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/0.06179, allocations: 41.7 kB / 0.9275 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/0.06226, allocations: 0.869 MB / 0.9284 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.06245, allocations: 317.4 kB / 0.9287 GB, free: 2.797 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.06267, allocations: 228.4 kB / 0.9289 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.0628, allocations: 0.5237 MB / 0.9294 GB, free: 2.031 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.06302, allocations: 150.5 kB / 0.9295 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005482/0.06357, allocations: 0.9126 MB / 0.9304 GB, free: 0.6914 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000752/0.06433, allocations: 0.8536 MB / 0.9313 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.06433, allocations: 4 kB / 0.9313 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001201/0.06553, allocations: 0.9303 MB / 0.9322 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.06556, allocations: 14.19 kB / 0.9322 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.06557, allocations: 15.94 kB / 0.9322 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.06559, allocations: 16 kB / 0.9322 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/0.06624, allocations: 291.5 kB / 0.9325 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.06625, allocations: 27.91 kB / 0.9325 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006411/0.0669, allocations: 163.1 kB / 0.9327 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-05/0.06698, allocations: 55.97 kB / 0.9327 GB, free: 14.11 MB / 0.9011 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.0003664/0.06735, allocations: 242.1 kB / 0.933 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.06754, allocations: 190.9 kB / 0.9331 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.06899, allocations: 1.147 MB / 0.9343 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/0.06901, allocations: 15.98 kB / 0.9343 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.06901, allocations: 0 / 0.9343 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.06902, allocations: 3.984 kB / 0.9343 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.07127, allocations: 2.057 MB / 0.9363 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.07128, allocations: 4.125 kB / 0.9363 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004562/0.07173, allocations: 187.7 kB / 0.9365 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.07174, allocations: 8 kB / 0.9365 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.0718, allocations: 39.95 kB / 0.9365 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.0718, allocations: 7.938 kB / 0.9365 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.07181, allocations: 4 kB / 0.9365 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.07314, allocations: 1.249 MB / 0.9378 GB, free: 8.801 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.07348, allocations: 274.4 kB / 0.938 GB, free: 8.531 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.07359, allocations: 31.98 kB / 0.938 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.07395, allocations: 71.88 kB / 0.9381 GB, free: 8.43 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.07404, allocations: 72.86 kB / 0.9382 GB, free: 8.359 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.795e-05/0.0741, allocations: 39.97 kB / 0.9382 GB, free: 8.32 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004411/0.07454, allocations: 0.674 MB / 0.9389 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.3e-07/0.07454, allocations: 0 / 0.9389 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008037/0.07534, allocations: 431.2 kB / 0.9393 GB, free: 7.227 MB / 0.9011 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 (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.001068/0.07641, allocations: 495.1 kB / 0.9398 GB, free: 6.883 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008256/0.07724, allocations: 0.647 MB / 0.9404 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.07724, allocations: 0 / 0.9404 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.07761, allocations: 363.9 kB / 0.9407 GB, free: 5.879 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.07902, allocations: 0.6113 MB / 0.9413 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.08199, allocations: 2.539 MB / 0.9438 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.08218, allocations: 302.4 kB / 0.9441 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0007769/0.08296, allocations: 311.1 kB / 0.9444 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.08399, allocations: 0.611 MB / 0.945 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of SimCode: time 1.764e-06/0.084, allocations: 0 / 0.945 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of Templates: time 0.03645/0.1204, allocations: 28.11 MB / 0.9725 GB, free: 6.02 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.151403136085719]