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.001523/0.001523, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001706/0.001706, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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 1.008/1.008, allocations: 177.1 MB / 204.2 MB, free: 5.266 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.894/1.894, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.613e-06/1.613e-06, allocations: 0 / 0.8116 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.593e-05, allocations: 5.766 kB / 0.8116 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01097/0.01099, allocations: 13.59 MB / 0.8248 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.006657/0.01765, allocations: 5.017 MB / 0.8297 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006103/0.01826, allocations: 91.19 kB / 0.8298 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009512/0.01921, allocations: 0.6133 MB / 0.8304 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.02111, allocations: 1.561 MB / 0.832 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.02309, allocations: 1.509 MB / 0.8334 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002641/0.02573, allocations: 3.845 MB / 0.8372 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009207/0.02665, allocations: 1.03 MB / 0.8382 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.02817, allocations: 1.82 MB / 0.84 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009009/0.02907, allocations: 1.071 MB / 0.841 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.0292, allocations: 108 kB / 0.8411 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.0297, allocations: 315.6 kB / 0.8414 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.02997, allocations: 418.1 kB / 0.8418 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.0304, allocations: 0.5688 MB / 0.8424 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.03169, allocations: 1.413 MB / 0.8437 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.0317, allocations: 3.984 kB / 0.8438 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.062e-06/0.0317, allocations: 0 / 0.8438 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.03171, allocations: 4 kB / 0.8438 GB, free: 15.53 MB / 0.7605 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.002005/0.03372, allocations: 2.11 MB / 0.8458 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.03376, allocations: 12.03 kB / 0.8458 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.03526, allocations: 0.631 MB / 0.8464 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.03651, allocations: 1.142 MB / 0.8476 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.03656, allocations: 86.14 kB / 0.8476 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.03669, allocations: 108 kB / 0.8477 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.03813, allocations: 1.306 MB / 0.849 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.03815, allocations: 7.938 kB / 0.849 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.625e-05/0.03822, allocations: 44 kB / 0.8491 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.03824, allocations: 31.98 kB / 0.8491 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008263/0.03907, allocations: 0.5733 MB / 0.8497 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005009/0.04408, allocations: 7.959 MB / 0.8574 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.04516, allocations: 0.5985 MB / 0.858 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.04549, allocations: 225.5 kB / 0.8582 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.04574, allocations: 76.58 kB / 0.8583 GB, free: 20 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004948/0.04623, allocations: 390.2 kB / 0.8587 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=85): time 3.015e-06/0.04623, allocations: 0 / 0.8587 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=85): time 0.001346/0.04758, allocations: 0.9134 MB / 0.8596 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.04762, allocations: 64.41 kB / 0.8596 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009535/0.04857, allocations: 1.244 MB / 0.8608 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.04863, allocations: 45.64 kB / 0.8609 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/0.04908, allocations: 0.8734 MB / 0.8617 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.04925, allocations: 313.4 kB / 0.862 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.04947, allocations: 224.5 kB / 0.8623 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.04961, allocations: 0.516 MB / 0.8628 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.04993, allocations: 206.5 kB / 0.863 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008086/0.05074, allocations: 0.9478 MB / 0.8639 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009581/0.0517, allocations: 0.9357 MB / 0.8648 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.05171, allocations: 4 kB / 0.8648 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001305/0.05301, allocations: 1.028 MB / 0.8658 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.05304, allocations: 15.94 kB / 0.8658 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.05305, allocations: 8 kB / 0.8658 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.05308, allocations: 20 kB / 0.8658 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000667/0.05375, allocations: 312 kB / 0.8661 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.05377, allocations: 19.94 kB / 0.8662 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.05427, allocations: 159.2 kB / 0.8663 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.05436, allocations: 67.97 kB / 0.8664 GB, free: 7.164 MB / 0.7761 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.0002784/0.05464, allocations: 246.1 kB / 0.8666 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.05482, allocations: 187 kB / 0.8668 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.05644, allocations: 1.249 MB / 0.868 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.05646, allocations: 19.98 kB / 0.868 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.05646, allocations: 0 / 0.868 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.05647, allocations: 7.969 kB / 0.868 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/0.05893, allocations: 2.378 MB / 0.8704 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.05894, allocations: 0 / 0.8704 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.05953, allocations: 199.9 kB / 0.8705 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.05954, allocations: 11.94 kB / 0.8706 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.05959, allocations: 31.97 kB / 0.8706 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.05959, allocations: 11.94 kB / 0.8706 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.0596, allocations: 7.984 kB / 0.8706 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.06117, allocations: 1.425 MB / 0.872 GB, free: 1.227 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.06147, allocations: 282.4 kB / 0.8723 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/0.06157, allocations: 28 kB / 0.8723 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.06194, allocations: 71.92 kB / 0.8724 GB, free: 0.8516 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.744e-05/0.06204, allocations: 76.86 kB / 0.8724 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.0621, allocations: 55.95 kB / 0.8725 GB, free: 0.7227 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000592/0.0627, allocations: 0.7373 MB / 0.8732 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.3e-07/0.0627, allocations: 0 / 0.8732 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007074/0.0634, allocations: 435.2 kB / 0.8736 GB, free: 15.56 MB / 0.7917 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.001132/0.06453, allocations: 478.9 kB / 0.8741 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009465/0.06548, allocations: 0.7447 MB / 0.8748 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.06548, allocations: 0 / 0.8748 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.06595, allocations: 411.7 kB / 0.8752 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.06737, allocations: 0.6443 MB / 0.8758 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.07032, allocations: 2.563 MB / 0.8783 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.07053, allocations: 310.5 kB / 0.8786 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005875/0.07112, allocations: 327.2 kB / 0.8789 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.07141, allocations: 156.4 kB / 0.8791 GB, free: 9.996 MB / 0.7917 GB Notification: Performance of SimCode: time 1.252e-06/0.07141, allocations: 0 / 0.8791 GB, free: 9.996 MB / 0.7917 GB Notification: Performance of Templates: time 0.02754/0.09894, allocations: 25.35 MB / 0.9038 GB, free: 1.324 MB / 0.8073 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.789677049964666]