Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.001286/0.001286, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001425/0.001425, allocations: 165 kB / 24.17 MB, free: 328 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.9208/0.9208, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.791/1.791, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.393e-05, allocations: 5.641 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002885/0.002899, allocations: 2.485 MB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.004969, allocations: 1.704 MB / 0.7641 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.005105, allocations: 7.938 kB / 0.7641 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00075/0.005855, allocations: 317.3 kB / 0.7644 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.006285, allocations: 280.6 kB / 0.7647 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.006682, allocations: 208.7 kB / 0.7649 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003427/0.007025, allocations: 414.5 kB / 0.7653 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.007138, allocations: 46.88 kB / 0.7653 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005232/0.007661, allocations: 261.6 kB / 0.7656 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.007826, allocations: 139.5 kB / 0.7657 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.007857, allocations: 20 kB / 0.7657 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.007997, allocations: 87.12 kB / 0.7658 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.0081, allocations: 131.5 kB / 0.766 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.835e-05/0.008178, allocations: 103.5 kB / 0.7661 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.008523, allocations: 346.6 kB / 0.7664 GB, free: 160 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.008525, allocations: 0 / 0.7664 GB, free: 160 kB / 0.7136 GB Notification: Performance of FrontEnd: time 7.52e-07/0.008526, allocations: 0 / 0.7664 GB, free: 160 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.00853, allocations: 0 / 0.7664 GB, free: 160 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007244/0.009255, allocations: 0.7594 MB / 0.7671 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.009298, allocations: 12.03 kB / 0.7671 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.009364, allocations: 36.89 kB / 0.7672 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.009706, allocations: 355.2 kB / 0.7675 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.009734, allocations: 20.48 kB / 0.7675 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.009752, allocations: 8.375 kB / 0.7675 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.009901, allocations: 120.1 kB / 0.7677 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.00991, allocations: 5.5 kB / 0.7677 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.009921, allocations: 4 kB / 0.7677 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.009927, allocations: 4 kB / 0.7677 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.631e-05/0.009973, allocations: 19.98 kB / 0.7677 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.01038, allocations: 299.4 kB / 0.768 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.01051, allocations: 113.3 kB / 0.7681 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.01054, allocations: 27.31 kB / 0.7681 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.01055, allocations: 7.938 kB / 0.7681 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.01067, allocations: 119.4 kB / 0.7682 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.01067, allocations: 0 / 0.7682 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0001684/0.01084, allocations: 108.8 kB / 0.7683 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.01086, allocations: 55.41 kB / 0.7684 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.01123, allocations: 0.568 MB / 0.7689 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.01125, allocations: 29.7 kB / 0.769 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.01133, allocations: 174.3 kB / 0.7691 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.01136, allocations: 35.72 kB / 0.7692 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.01142, allocations: 61.62 kB / 0.7692 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.01151, allocations: 374.6 kB / 0.7696 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.01155, allocations: 22.81 kB / 0.7696 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.755e-05/0.01162, allocations: 116.3 kB / 0.7697 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.117e-05/0.0117, allocations: 87.14 kB / 0.7698 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.0117, allocations: 0 / 0.7698 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001389/0.01184, allocations: 150.7 kB / 0.7699 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.01185, allocations: 8.469 kB / 0.77 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01186, allocations: 0 / 0.77 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.01187, allocations: 4 kB / 0.77 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.01196, allocations: 27.98 kB / 0.77 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.01196, allocations: 7.938 kB / 0.77 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.01203, allocations: 19.92 kB / 0.77 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.01205, allocations: 6.188 kB / 0.77 GB, free: 12.24 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.803e-05/0.01215, allocations: 130.6 kB / 0.7701 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.01218, allocations: 31.95 kB / 0.7702 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.01233, allocations: 142.7 kB / 0.7703 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01233, allocations: 1.406 kB / 0.7703 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01233, allocations: 3.984 kB / 0.7703 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01234, allocations: 0 / 0.7703 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.01249, allocations: 181.7 kB / 0.7705 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01249, allocations: 1.281 kB / 0.7705 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.01252, allocations: 19.98 kB / 0.7705 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01253, allocations: 3.938 kB / 0.7705 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.01254, allocations: 4.656 kB / 0.7705 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01254, allocations: 0 / 0.7705 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01254, allocations: 0.625 kB / 0.7705 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.01265, allocations: 143.3 kB / 0.7707 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.0127, allocations: 55.55 kB / 0.7707 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.01273, allocations: 8.688 kB / 0.7707 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.002e-05/0.01278, allocations: 7.984 kB / 0.7707 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.01282, allocations: 20.5 kB / 0.7707 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.01283, allocations: 5.5 kB / 0.7707 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001894/0.01302, allocations: 267.4 kB / 0.771 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01302, allocations: 0 / 0.771 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001849/0.01321, allocations: 71.89 kB / 0.7711 GB, free: 11.11 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001111/0.01432, allocations: 0.5341 MB / 0.7716 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001426/0.01446, allocations: 88.67 kB / 0.7717 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.01447, allocations: 4 kB / 0.7717 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.393e-05/0.01452, allocations: 41.41 kB / 0.7717 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.01476, allocations: 97.19 kB / 0.7718 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008476/0.01561, allocations: 0.7542 MB / 0.7725 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.304e-05/0.01569, allocations: 140.2 kB / 0.7727 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.617e-05/0.01578, allocations: 41.95 kB / 0.7727 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.01591, allocations: 115.3 kB / 0.7728 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of SimCode: time 7.11e-07/0.01591, allocations: 0 / 0.7728 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.00767/0.02358, allocations: 4.983 MB / 0.7777 GB, free: 4.723 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.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: 4.821976943872869]