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.001406/0.001406, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001419/0.001419, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9414/0.9414, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.886/1.886, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] 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.774e-06/1.774e-06, allocations: 0 / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.047e-05, allocations: 7.094 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0131/0.01313, allocations: 13.59 MB / 0.8249 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.007857/0.02099, allocations: 5.012 MB / 0.8297 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.02277, allocations: 91.19 kB / 0.8298 GB, free: 15 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.024, allocations: 0.6172 MB / 0.8304 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003243/0.02724, allocations: 1.569 MB / 0.832 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.03089, allocations: 1.512 MB / 0.8334 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005414/0.0363, allocations: 3.846 MB / 0.8372 GB, free: 7.426 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.0382, allocations: 1.018 MB / 0.8382 GB, free: 6.387 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/0.04118, allocations: 1.89 MB / 0.84 GB, free: 4.492 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.0426, allocations: 1.036 MB / 0.8411 GB, free: 3.453 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.04286, allocations: 104 kB / 0.8412 GB, free: 3.352 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000811/0.04367, allocations: 323.5 kB / 0.8415 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.04399, allocations: 414.2 kB / 0.8419 GB, free: 2.629 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006579/0.04464, allocations: 0.5688 MB / 0.8424 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.04635, allocations: 1.401 MB / 0.8438 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.04636, allocations: 0 / 0.8438 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.653e-06/0.04636, allocations: 0 / 0.8438 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.849e-05/0.04642, allocations: 0 / 0.8438 GB, free: 0.6523 MB / 0.7917 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.002505/0.04892, allocations: 2.119 MB / 0.8458 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.04896, allocations: 8.031 kB / 0.8459 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.05047, allocations: 0.6037 MB / 0.8464 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.0518, allocations: 1.146 MB / 0.8476 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.05185, allocations: 90.14 kB / 0.8477 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.05196, allocations: 108 kB / 0.8478 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.05341, allocations: 1.278 MB / 0.849 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.05343, allocations: 7.938 kB / 0.849 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/0.05351, allocations: 44 kB / 0.8491 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.05353, allocations: 31.98 kB / 0.8491 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000854/0.05438, allocations: 0.5655 MB / 0.8496 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00514/0.05952, allocations: 7.912 MB / 0.8574 GB, free: 2.148 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.06058, allocations: 0.5611 MB / 0.8579 GB, free: 1.582 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.06089, allocations: 225.5 kB / 0.8581 GB, free: 1.359 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/0.06115, allocations: 88.69 kB / 0.8582 GB, free: 1.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004917/0.06165, allocations: 378.3 kB / 0.8586 GB, free: 0.8906 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=85): time 3.006e-06/0.06165, allocations: 0 / 0.8586 GB, free: 0.8906 MB / 0.8073 GB Notification: Performance of matching and sorting (n=85): time 0.001482/0.06313, allocations: 0.9016 MB / 0.8595 GB, free: 15.98 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.06317, allocations: 60.41 kB / 0.8595 GB, free: 15.91 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.06419, allocations: 1.24 MB / 0.8607 GB, free: 14.64 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.384e-05/0.06426, allocations: 45.7 kB / 0.8608 GB, free: 14.59 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/0.06475, allocations: 0.8734 MB / 0.8616 GB, free: 13.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.06497, allocations: 309.4 kB / 0.8619 GB, free: 13.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.0652, allocations: 232.4 kB / 0.8621 GB, free: 13.16 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.06533, allocations: 0.516 MB / 0.8626 GB, free: 12.64 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.06567, allocations: 198.5 kB / 0.8628 GB, free: 12.45 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.0663, allocations: 0.944 MB / 0.8637 GB, free: 11.23 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008941/0.06719, allocations: 0.924 MB / 0.8646 GB, free: 10.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.0672, allocations: 4 kB / 0.8647 GB, free: 10.09 MB / 0.823 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001427/0.06862, allocations: 1.024 MB / 0.8657 GB, free: 9.059 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.06865, allocations: 8 kB / 0.8657 GB, free: 9.051 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.06866, allocations: 12 kB / 0.8657 GB, free: 9.039 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.06868, allocations: 19.94 kB / 0.8657 GB, free: 9.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/0.06932, allocations: 300.1 kB / 0.866 GB, free: 8.727 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.06934, allocations: 27.92 kB / 0.866 GB, free: 8.699 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/0.06989, allocations: 155.1 kB / 0.8662 GB, free: 8.547 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.464e-05/0.06997, allocations: 67.97 kB / 0.8662 GB, free: 8.48 MB / 0.823 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.0002995/0.07027, allocations: 246.1 kB / 0.8665 GB, free: 8.23 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.07045, allocations: 190.9 kB / 0.8666 GB, free: 8.043 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.07196, allocations: 1.245 MB / 0.8678 GB, free: 6.789 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.07197, allocations: 15.98 kB / 0.8679 GB, free: 6.773 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.07198, allocations: 0 / 0.8679 GB, free: 6.773 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.07198, allocations: 3.984 kB / 0.8679 GB, free: 6.77 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.07451, allocations: 2.349 MB / 0.8702 GB, free: 4.309 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.07452, allocations: 0 / 0.8702 GB, free: 4.309 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.075, allocations: 187.7 kB / 0.8703 GB, free: 4.125 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.07501, allocations: 16.12 kB / 0.8704 GB, free: 4.109 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/0.07506, allocations: 35.95 kB / 0.8704 GB, free: 4.074 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.07507, allocations: 7.938 kB / 0.8704 GB, free: 4.066 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.07507, allocations: 4 kB / 0.8704 GB, free: 4.062 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.07665, allocations: 1.41 MB / 0.8718 GB, free: 2.605 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.07698, allocations: 282.4 kB / 0.872 GB, free: 2.328 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.07709, allocations: 20 kB / 0.8721 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.07746, allocations: 71.94 kB / 0.8721 GB, free: 2.238 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.07757, allocations: 72.86 kB / 0.8722 GB, free: 2.168 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/0.07763, allocations: 43.97 kB / 0.8722 GB, free: 2.125 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0007955/0.07843, allocations: 0.7412 MB / 0.873 GB, free: 1.387 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.07843, allocations: 0 / 0.873 GB, free: 1.387 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009857/0.07941, allocations: 435.2 kB / 0.8734 GB, free: 0.9609 MB / 0.823 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.001125/0.08054, allocations: 489.1 kB / 0.8739 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.08167, allocations: 0.7369 MB / 0.8746 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.08168, allocations: 0 / 0.8746 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004728/0.08215, allocations: 403.8 kB / 0.875 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.08366, allocations: 0.6456 MB / 0.8756 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/0.08706, allocations: 2.567 MB / 0.8781 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.08727, allocations: 306.5 kB / 0.8784 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008014/0.08807, allocations: 331.2 kB / 0.8787 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.08838, allocations: 160.3 kB / 0.8789 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of SimCode: time 1.674e-06/0.08838, allocations: 4 kB / 0.8789 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.03414/0.1225, allocations: 28.26 MB / 0.9065 GB, free: 15.84 MB / 0.8698 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.746087923645973]