Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001614/0.001614, allocations: 104.6 kB / 15.98 MB, free: 6.344 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.001575/0.001576, allocations: 195.5 kB / 16.91 MB, free: 6.184 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.613/2.613, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 69.91 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2837, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004128/0.2878, allocations: 2.495 MB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002492/0.2904, allocations: 1.553 MB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.2905, allocations: 3.938 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008555/0.2914, allocations: 314.9 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.2919, allocations: 195.3 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006116/0.2925, allocations: 247 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.293, allocations: 390.7 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.2931, allocations: 69 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.2934, allocations: 167.2 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.2936, allocations: 167.2 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.2936, allocations: 20 kB / 1.07 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.2938, allocations: 79.95 kB / 1.07 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.294, allocations: 135.5 kB / 1.07 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.2941, allocations: 186.6 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.2946, allocations: 387.1 kB / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2946, allocations: 4 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2946, allocations: 0 / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.2946, allocations: 0 / 1.07 GB, free: 8.719 MB / 0.8419 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.001183/0.2958, allocations: 0.8297 MB / 1.071 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.2958, allocations: 11.97 kB / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.981e-05/0.296, allocations: 60.19 kB / 1.071 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.2965, allocations: 436.8 kB / 1.072 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.2965, allocations: 15.92 kB / 1.072 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.2966, allocations: 12 kB / 1.072 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.2969, allocations: 135.3 kB / 1.072 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.2969, allocations: 0 / 1.072 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.2969, allocations: 8 kB / 1.072 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2969, allocations: 3.938 kB / 1.072 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.2971, allocations: 63.97 kB / 1.072 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00088/0.298, allocations: 0.5783 MB / 1.072 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.2983, allocations: 134.6 kB / 1.073 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.2984, allocations: 44.84 kB / 1.073 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.2985, allocations: 7.984 kB / 1.073 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.2987, allocations: 115.3 kB / 1.073 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.2987, allocations: 0 / 1.073 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005108/0.2992, allocations: 233 kB / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.2993, allocations: 81.11 kB / 1.073 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007957/0.3001, allocations: 0.6799 MB / 1.074 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.3001, allocations: 33.7 kB / 1.074 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.3004, allocations: 268.2 kB / 1.074 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.3004, allocations: 31.59 kB / 1.074 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.813e-05/0.3005, allocations: 57.7 kB / 1.074 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3007, allocations: 370.8 kB / 1.074 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.3008, allocations: 75.97 kB / 1.074 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.3011, allocations: 126.7 kB / 1.075 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.3013, allocations: 128.8 kB / 1.075 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3013, allocations: 7.938 kB / 1.075 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004531/0.3018, allocations: 271.6 kB / 1.075 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3018, allocations: 6.656 kB / 1.075 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3018, allocations: 0 / 1.075 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3018, allocations: 7.984 kB / 1.075 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.302, allocations: 35.92 kB / 1.075 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.302, allocations: 4 kB / 1.075 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.3022, allocations: 19.83 kB / 1.075 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.3022, allocations: 16.06 kB / 1.075 GB, free: 3.598 MB / 0.8419 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.0002343/0.3024, allocations: 215.5 kB / 1.075 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.3025, allocations: 55.28 kB / 1.075 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.3026, allocations: 57.05 kB / 1.075 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3026, allocations: 11.88 kB / 1.075 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3026, allocations: 0 / 1.075 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3027, allocations: 0 / 1.075 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.303, allocations: 369.3 kB / 1.076 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.303, allocations: 7.922 kB / 1.076 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.3031, allocations: 12 kB / 1.076 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3031, allocations: 0 / 1.076 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3031, allocations: 0 / 1.076 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3031, allocations: 4 kB / 1.076 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3031, allocations: 0 / 1.076 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.3035, allocations: 222.9 kB / 1.076 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3036, allocations: 128.4 kB / 1.076 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.3037, allocations: 12 kB / 1.076 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.3038, allocations: 11.98 kB / 1.076 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.3039, allocations: 11.98 kB / 1.076 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.3039, allocations: 15.98 kB / 1.076 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005347/0.3044, allocations: 463 kB / 1.077 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3044, allocations: 0 / 1.077 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003119/0.3047, allocations: 67.91 kB / 1.077 GB, free: 1.875 MB / 0.8419 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.001502/0.3063, allocations: 444.5 kB / 1.077 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003823/0.3066, allocations: 159.9 kB / 1.077 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3067, allocations: 0 / 1.077 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.3068, allocations: 55.91 kB / 1.077 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.3073, allocations: 101.8 kB / 1.077 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3087, allocations: 0.9908 MB / 1.078 GB, free: 264 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3906/0.6993, allocations: 0.8609 MB / 1.079 GB, free: 21.58 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.6995, allocations: 32.22 kB / 1.079 GB, free: 21.57 MB / 0.8419 GB Notification: Performance of SimCode: time 6.31e-07/0.6995, allocations: 0 / 1.079 GB, free: 21.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.0103/0.7098, allocations: 5.73 MB / 1.085 GB, free: 20.85 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches