Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 102.2 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 191 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 64.3 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3077, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004343/0.3121, allocations: 2.467 MB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002645/0.3148, allocations: 1.569 MB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.3151, allocations: 7.938 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.3162, allocations: 326.8 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005531/0.3167, allocations: 211.1 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007561/0.3175, allocations: 271.6 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005542/0.3181, allocations: 382.8 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.3183, allocations: 64.98 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.3186, allocations: 163.3 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.3188, allocations: 163.2 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.3189, allocations: 20 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.3191, allocations: 71.97 kB / 1.024 GB, free: 4.945 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.3193, allocations: 135.4 kB / 1.024 GB, free: 4.812 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.3195, allocations: 186.6 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006174/0.3201, allocations: 494.1 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3201, allocations: 0 / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.669e-06/0.3201, allocations: 3.984 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.3201, allocations: 3.938 kB / 1.024 GB, free: 4.137 MB / 0.795 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.001431/0.3216, allocations: 0.8375 MB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3216, allocations: 8.922 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.3218, allocations: 60.19 kB / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/0.3224, allocations: 428.8 kB / 1.026 GB, free: 2.719 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.3225, allocations: 11.94 kB / 1.026 GB, free: 2.707 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.3225, allocations: 12 kB / 1.026 GB, free: 2.695 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.3228, allocations: 141 kB / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3228, allocations: 3.938 kB / 1.026 GB, free: 2.543 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.3229, allocations: 7.984 kB / 1.026 GB, free: 2.535 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.323, allocations: 11.88 kB / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.3232, allocations: 63.97 kB / 1.026 GB, free: 2.461 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.3242, allocations: 0.5822 MB / 1.026 GB, free: 1.828 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.3245, allocations: 122.7 kB / 1.027 GB, free: 1.699 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3247, allocations: 48.84 kB / 1.027 GB, free: 1.648 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.3247, allocations: 4 kB / 1.027 GB, free: 1.645 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.325, allocations: 115.3 kB / 1.027 GB, free: 1.52 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.325, allocations: 0 / 1.027 GB, free: 1.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0006725/0.3256, allocations: 227.6 kB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.3257, allocations: 77.11 kB / 1.027 GB, free: 1.199 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008259/0.3266, allocations: 0.6915 MB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3266, allocations: 29.7 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.3268, allocations: 264.3 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.3269, allocations: 35.59 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.3269, allocations: 57.69 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3271, allocations: 370.8 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.3273, allocations: 75.97 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.3275, allocations: 131.5 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.3277, allocations: 129 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3277, allocations: 7.938 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004504/0.3282, allocations: 268.8 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3282, allocations: 11.94 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3282, allocations: 0 / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3283, allocations: 0 / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.3284, allocations: 39.92 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3284, allocations: 4 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.3286, allocations: 23.81 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.3287, allocations: 12 kB / 1.029 GB, free: 15.02 MB / 0.8106 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 0.0002287/0.3289, allocations: 211.5 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.329, allocations: 59.28 kB / 1.029 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.85e-05/0.3291, allocations: 57.05 kB / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3291, allocations: 0 / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.3291, allocations: 0 / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3291, allocations: 0 / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.3295, allocations: 373.4 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3295, allocations: 3.938 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.3295, allocations: 7.984 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3295, allocations: 4 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3295, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3296, allocations: 7.938 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3296, allocations: 7.922 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.3299, allocations: 220.3 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3301, allocations: 124.4 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.3301, allocations: 11.98 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.3303, allocations: 15.98 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.3303, allocations: 15.98 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.3304, allocations: 8 kB / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000526/0.3309, allocations: 467 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3309, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000315/0.3312, allocations: 71.89 kB / 1.031 GB, free: 13.29 MB / 0.8106 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 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001036/0.3323, allocations: 436.7 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.3327, allocations: 167.8 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3327, allocations: 0 / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.3328, allocations: 51.92 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.3333, allocations: 97.17 kB / 1.031 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.3347, allocations: 0.8893 MB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.3352, allocations: 0.8611 MB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/0.3353, allocations: 31.42 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3353, allocations: 0 / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of Templates: time 0.00919/0.3445, allocations: 5.724 MB / 1.039 GB, free: 5.195 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches