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.001903/0.001903, allocations: 104.2 kB / 15.99 MB, free: 6.355 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.002131/0.002132, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.518/1.518, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.58/2.58, allocations: 437 MB / 0.7107 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.73 kB / 0.8694 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3316, allocations: 151.6 MB / 1.017 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004408/0.3361, allocations: 2.524 MB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002597/0.3387, allocations: 1.542 MB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.3389, allocations: 7.938 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008959/0.3398, allocations: 311 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004251/0.3402, allocations: 195.8 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006467/0.3409, allocations: 245.3 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.3414, allocations: 390.7 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.3416, allocations: 68.98 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.3418, allocations: 159.2 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.342, allocations: 179.2 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.3421, allocations: 20 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.3423, allocations: 71.97 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.3424, allocations: 139.4 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.3426, allocations: 182.7 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004698/0.3431, allocations: 391.1 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3431, allocations: 0 / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.587e-06/0.3431, allocations: 0 / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.3431, allocations: 7.875 kB / 1.024 GB, free: 4.555 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.001327/0.3445, allocations: 0.8297 MB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3445, allocations: 8.922 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.3446, allocations: 64.19 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.3452, allocations: 424.8 kB / 1.025 GB, free: 3.145 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.3452, allocations: 19.92 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.3453, allocations: 12 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.3456, allocations: 139.3 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3456, allocations: 0 / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3456, allocations: 0 / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3457, allocations: 11.94 kB / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.3458, allocations: 67.97 kB / 1.025 GB, free: 2.887 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009262/0.3468, allocations: 0.5744 MB / 1.026 GB, free: 2.262 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.3471, allocations: 130.7 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.3472, allocations: 48.78 kB / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.3473, allocations: 4 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.3475, allocations: 119.3 kB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.3475, allocations: 0 / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0005554/0.3481, allocations: 229.1 kB / 1.026 GB, free: 1.711 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.3482, allocations: 77.11 kB / 1.026 GB, free: 1.617 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008443/0.349, allocations: 0.6876 MB / 1.027 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.3491, allocations: 29.7 kB / 1.027 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.3493, allocations: 272.2 kB / 1.027 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.3494, allocations: 35.61 kB / 1.027 GB, free: 0.582 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.02e-05/0.3495, allocations: 49.7 kB / 1.027 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.3497, allocations: 370.8 kB / 1.028 GB, free: 160 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.3498, allocations: 71.97 kB / 1.028 GB, free: 88 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.3501, allocations: 131.5 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.3503, allocations: 134.3 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3504, allocations: 7.938 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000487/0.3508, allocations: 264.8 kB / 1.028 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3509, allocations: 12.06 kB / 1.028 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3509, allocations: 0 / 1.028 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3509, allocations: 3.984 kB / 1.028 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.3511, allocations: 35.92 kB / 1.028 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.3511, allocations: 4 kB / 1.028 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.3513, allocations: 23.83 kB / 1.028 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.3513, allocations: 8 kB / 1.028 GB, free: 15.45 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.0002357/0.3515, allocations: 207.5 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.3516, allocations: 67.22 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.3517, allocations: 57.05 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3517, allocations: 0 / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3518, allocations: 0 / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.3518, allocations: 0 / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.3522, allocations: 381.3 kB / 1.029 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3522, allocations: 7.922 kB / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.3522, allocations: 4 kB / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.3522, allocations: 8 kB / 1.029 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3522, allocations: 0 / 1.029 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3522, allocations: 4 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3523, allocations: 3.938 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.3526, allocations: 225.6 kB / 1.029 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.3528, allocations: 128.4 kB / 1.029 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.3528, allocations: 8 kB / 1.029 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.353, allocations: 7.984 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.353, allocations: 15.98 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.353, allocations: 11.98 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005583/0.3536, allocations: 471 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3536, allocations: 0 / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000318/0.3539, allocations: 67.91 kB / 1.03 GB, free: 13.71 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.001614/0.3556, allocations: 441.1 kB / 1.03 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.356, allocations: 158.4 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.356, allocations: 4.062 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.3561, allocations: 59.91 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.3567, allocations: 89.31 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.3581, allocations: 0.991 MB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006032/0.3588, allocations: 0.8618 MB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.071e-05/0.3589, allocations: 35.42 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/0.3589, allocations: 0 / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of Templates: time 0.009619/0.3685, allocations: 5.721 MB / 1.038 GB, free: 5.512 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=400 -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