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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001135/0.001135, allocations: 103 kB / 16.36 MB, free: 5.879 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.001166/0.001166, allocations: 196 kB / 17.3 MB, free: 5.52 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 60.41 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2996, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003994/0.3037, allocations: 2.484 MB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002239/0.3059, allocations: 1.565 MB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.3061, allocations: 4 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008426/0.3069, allocations: 319.3 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.3074, allocations: 211.7 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.308, allocations: 271.6 kB / 1.024 GB, free: 4.996 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.3084, allocations: 390.8 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.3086, allocations: 60.72 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.3088, allocations: 167.2 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.309, allocations: 159.2 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.309, allocations: 23.94 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.3092, allocations: 79.94 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.3093, allocations: 127.5 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.3095, allocations: 194.6 kB / 1.025 GB, free: 3.816 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.31, allocations: 0.5058 MB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.31, allocations: 0 / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.102e-06/0.31, allocations: 0 / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.31, allocations: 0 / 1.025 GB, free: 3.309 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.00111/0.3111, allocations: 0.822 MB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3112, allocations: 12.86 kB / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.864e-05/0.3113, allocations: 60.19 kB / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/0.3118, allocations: 444.8 kB / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3118, allocations: 7.938 kB / 1.026 GB, free: 1.879 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3119, allocations: 12 kB / 1.026 GB, free: 1.867 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.3121, allocations: 140.4 kB / 1.027 GB, free: 1.719 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3122, allocations: 0 / 1.027 GB, free: 1.719 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.3122, allocations: 8 kB / 1.027 GB, free: 1.711 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3122, allocations: 7.938 kB / 1.027 GB, free: 1.703 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.3124, allocations: 67.95 kB / 1.027 GB, free: 1.637 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008343/0.3132, allocations: 0.5705 MB / 1.027 GB, free: 1.016 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.3135, allocations: 126.7 kB / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3136, allocations: 48.84 kB / 1.027 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.3137, allocations: 3.984 kB / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.3139, allocations: 112.6 kB / 1.028 GB, free: 0.707 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.3139, allocations: 0 / 1.028 GB, free: 0.707 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0004921/0.3144, allocations: 230 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.3145, allocations: 85.05 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006971/0.3152, allocations: 0.6837 MB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.3152, allocations: 33.69 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.3154, allocations: 272.2 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.3155, allocations: 31.61 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.3156, allocations: 57.69 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3157, allocations: 366.8 kB / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.3158, allocations: 75.97 kB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.316, allocations: 121.8 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.3163, allocations: 132.2 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3163, allocations: 7.938 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004396/0.3167, allocations: 275.2 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.3168, allocations: 8 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3168, allocations: 3.938 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3168, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.317, allocations: 35.92 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.317, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.3171, allocations: 27.83 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.3172, allocations: 12.06 kB / 1.03 GB, free: 14.2 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.0002211/0.3174, allocations: 207.5 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.3175, allocations: 63.28 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.638e-05/0.3176, allocations: 57.05 kB / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3176, allocations: 0 / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3176, allocations: 3.984 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3176, allocations: 3.938 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.318, allocations: 373.4 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.318, allocations: 3.938 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.318, allocations: 8 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3181, allocations: 4.047 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3181, allocations: 3.984 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.3181, allocations: 3.984 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3181, allocations: 0 / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.3185, allocations: 222.3 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.3186, allocations: 128.4 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.477e-05/0.3187, allocations: 12 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.3188, allocations: 15.92 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.3189, allocations: 19.91 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.3189, allocations: 8 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000506/0.3194, allocations: 467 kB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3194, allocations: 0 / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003167/0.3197, allocations: 63.91 kB / 1.031 GB, free: 12.47 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.00103/0.3208, allocations: 435.4 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.3211, allocations: 150 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3212, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.3213, allocations: 59.91 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.3217, allocations: 95.33 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.3229, allocations: 0.8174 MB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.3234, allocations: 0.865 MB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00014/0.3235, allocations: 54.94 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.3236, allocations: 27.44 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.3236, allocations: 3.938 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of Templates: time 0.009046/0.3327, allocations: 4.349 MB / 1.038 GB, free: 5.789 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 -s gbode -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