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.001334/0.001334, allocations: 101.8 kB / 16.41 MB, free: 6.512 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.001323/0.001323, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.19 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.419/2.419, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 60.09 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8725/0.8741, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004554/0.8787, allocations: 2.47 MB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002873/0.8816, allocations: 1.572 MB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.8819, allocations: 7.938 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.883, allocations: 314.8 kB / 1.172 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006173/0.8837, allocations: 215.1 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008232/0.8845, allocations: 267.3 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005986/0.8851, allocations: 386.8 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.8853, allocations: 72.36 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003276/0.8857, allocations: 167.2 kB / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.8859, allocations: 163.2 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.694e-05/0.886, allocations: 20 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.8862, allocations: 79.91 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.8864, allocations: 131.6 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.8866, allocations: 190.5 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006786/0.8873, allocations: 0.4923 MB / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8873, allocations: 0 / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8873, allocations: 0 / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.157e-05/0.8874, allocations: 0 / 1.174 GB, free: 13.35 MB / 0.9044 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.001495/0.8889, allocations: 0.8374 MB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.8889, allocations: 8.922 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.8891, allocations: 68.17 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007005/0.8898, allocations: 432.8 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.8898, allocations: 15.88 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.8898, allocations: 15.98 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.8902, allocations: 136.3 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.8902, allocations: 0 / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.8902, allocations: 8 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.8902, allocations: 7.938 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.8904, allocations: 63.97 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009745/0.8914, allocations: 0.5744 MB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.8917, allocations: 130.6 kB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.8918, allocations: 48.84 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.8919, allocations: 0 / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.8921, allocations: 112.5 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.8921, allocations: 3.938 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0006153/0.8927, allocations: 238 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.8928, allocations: 81.11 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008179/0.8937, allocations: 0.6837 MB / 1.177 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.8937, allocations: 29.7 kB / 1.177 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.8939, allocations: 260.4 kB / 1.177 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.894, allocations: 43.53 kB / 1.177 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/0.8941, allocations: 49.7 kB / 1.177 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.8943, allocations: 370.8 kB / 1.178 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.8944, allocations: 75.97 kB / 1.178 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.8946, allocations: 131.2 kB / 1.178 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.8949, allocations: 132.4 kB / 1.178 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.8949, allocations: 11.94 kB / 1.178 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000468/0.8954, allocations: 262.5 kB / 1.178 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.8954, allocations: 8 kB / 1.178 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.8954, allocations: 0 / 1.178 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.8954, allocations: 0 / 1.178 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.8956, allocations: 43.91 kB / 1.178 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.8956, allocations: 4 kB / 1.178 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.8958, allocations: 23.89 kB / 1.178 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.8959, allocations: 12 kB / 1.178 GB, free: 8.215 MB / 0.9044 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.0002416/0.8961, allocations: 207.5 kB / 1.179 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/0.8962, allocations: 59.28 kB / 1.179 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.8963, allocations: 57.05 kB / 1.179 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8963, allocations: 0 / 1.179 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8963, allocations: 0 / 1.179 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.8963, allocations: 0 / 1.179 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.8967, allocations: 369.3 kB / 1.179 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.8967, allocations: 11.94 kB / 1.179 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.8968, allocations: 8.031 kB / 1.179 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.8968, allocations: 7.984 kB / 1.179 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.8968, allocations: 4 kB / 1.179 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8968, allocations: 0 / 1.179 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8968, allocations: 0 / 1.179 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.8972, allocations: 218.1 kB / 1.179 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.8973, allocations: 140.2 kB / 1.179 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.8974, allocations: 11.94 kB / 1.179 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.8975, allocations: 11.98 kB / 1.179 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.8976, allocations: 15.98 kB / 1.179 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.8976, allocations: 7.984 kB / 1.179 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005381/0.8982, allocations: 467 kB / 1.18 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.8982, allocations: 0 / 1.18 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003413/0.8985, allocations: 63.98 kB / 1.18 GB, free: 6.5 MB / 0.9044 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.00112/0.8996, allocations: 439.8 kB / 1.18 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.9, allocations: 155.8 kB / 1.181 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9, allocations: 0 / 1.181 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.9002, allocations: 51.98 kB / 1.181 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.9007, allocations: 99.53 kB / 1.181 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.9022, allocations: 0.8773 MB / 1.182 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.9027, allocations: 0.8611 MB / 1.182 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.726e-05/0.9028, allocations: 35.42 kB / 1.182 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of SimCode: time 3.5e-07/0.9028, allocations: 0 / 1.182 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of Templates: time 0.009694/0.9125, allocations: 5.754 MB / 1.188 GB, free: 14.37 MB / 0.92 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