Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 110.4 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.005/3.005, allocations: 489.3 MB / 0.7687 GB, free: 3.809 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 67.89 kB / 1.103 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9768/0.979, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004036/0.9831, allocations: 2.448 MB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002505/0.9857, allocations: 1.508 MB / 1.266 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002797/0.986, allocations: 7.875 kB / 1.266 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007883/0.9868, allocations: 228.3 kB / 1.267 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.9873, allocations: 153.4 kB / 1.267 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.9879, allocations: 192.3 kB / 1.267 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005039/0.9884, allocations: 346.9 kB / 1.267 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.9887, allocations: 91.47 kB / 1.267 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.9889, allocations: 141.5 kB / 1.268 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.9892, allocations: 150.8 kB / 1.268 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.024e-05/0.9892, allocations: 22.03 kB / 1.268 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.9894, allocations: 75.31 kB / 1.268 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.9896, allocations: 115.6 kB / 1.268 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.9898, allocations: 197.6 kB / 1.268 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007634/0.9905, allocations: 0.5003 MB / 1.269 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.9906, allocations: 0 / 1.269 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9906, allocations: 0.875 kB / 1.269 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.9906, allocations: 0 / 1.269 GB, free: 4.195 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001277/0.9919, allocations: 0.8322 MB / 1.269 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.9919, allocations: 9.406 kB / 1.269 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.992, allocations: 60.05 kB / 1.269 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.9926, allocations: 430.1 kB / 1.27 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.9926, allocations: 10.7 kB / 1.27 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.9926, allocations: 18.62 kB / 1.27 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.9929, allocations: 138.3 kB / 1.27 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.993, allocations: 0 / 1.27 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.993, allocations: 1.688 kB / 1.27 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.993, allocations: 3.031 kB / 1.27 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.9932, allocations: 81.8 kB / 1.27 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009622/0.9942, allocations: 0.6393 MB / 1.271 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.9946, allocations: 134.7 kB / 1.271 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.906e-05/0.9947, allocations: 49.17 kB / 1.271 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.9947, allocations: 1.844 kB / 1.271 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.9949, allocations: 112.8 kB / 1.271 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.9949, allocations: 0 / 1.271 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0004906/0.9954, allocations: 214 kB / 1.271 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.9955, allocations: 52.75 kB / 1.271 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008136/0.9963, allocations: 0.6504 MB / 1.272 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.9963, allocations: 32.2 kB / 1.272 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.9965, allocations: 265.1 kB / 1.272 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.9966, allocations: 36.41 kB / 1.272 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.619e-05/0.9967, allocations: 60.16 kB / 1.272 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.9968, allocations: 365.4 kB / 1.273 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.9969, allocations: 89.17 kB / 1.273 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.9971, allocations: 109.8 kB / 1.273 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.9974, allocations: 135.2 kB / 1.273 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9974, allocations: 0 / 1.273 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004295/0.9978, allocations: 276.8 kB / 1.273 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.9978, allocations: 6.875 kB / 1.273 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.9978, allocations: 0.9688 kB / 1.273 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.9979, allocations: 1.75 kB / 1.273 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.9981, allocations: 38.2 kB / 1.273 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.9981, allocations: 1.25 kB / 1.273 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.9983, allocations: 33.33 kB / 1.273 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.9983, allocations: 6.953 kB / 1.273 GB, free: 1.062 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002066/0.9985, allocations: 205.4 kB / 1.273 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/0.9986, allocations: 55.97 kB / 1.274 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.9987, allocations: 56.73 kB / 1.274 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.9987, allocations: 0.6875 kB / 1.274 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9987, allocations: 8.625 kB / 1.274 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.9987, allocations: 0.5156 kB / 1.274 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.9991, allocations: 380.4 kB / 1.274 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9991, allocations: 0 / 1.274 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-05/0.9992, allocations: 9.938 kB / 1.274 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.9992, allocations: 0.5938 kB / 1.274 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.9992, allocations: 6.516 kB / 1.274 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.9992, allocations: 1.953 kB / 1.274 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9993, allocations: 0 / 1.274 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.9997, allocations: 261.3 kB / 1.274 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.9998, allocations: 134.7 kB / 1.274 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.9999, allocations: 11.38 kB / 1.274 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/1, allocations: 11.19 kB / 1.274 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/1, allocations: 24.44 kB / 1.274 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/1, allocations: 3.031 kB / 1.274 GB, free: 284 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004839/1.001, allocations: 430.9 kB / 1.275 GB, free: 104 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.001, allocations: 0 / 1.275 GB, free: 104 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003156/1.001, allocations: 61.34 kB / 1.275 GB, free: 92 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001586/1.003, allocations: 428.4 kB / 1.275 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003937/1.003, allocations: 155.6 kB / 1.275 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.003, allocations: 0 / 1.275 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/1.003, allocations: 59.25 kB / 1.275 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/1.004, allocations: 75.02 kB / 1.276 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/1.005, allocations: 0.8964 MB / 1.276 GB, free: 15.29 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/1.006, allocations: 0.8546 MB / 1.277 GB, free: 14.58 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.02e-05/1.006, allocations: 30.53 kB / 1.277 GB, free: 14.57 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/1.006, allocations: 7.938 kB / 1.277 GB, free: 14.56 MB / 1.014 GB Notification: Performance of Templates: time 0.01102/1.017, allocations: 5.445 MB / 1.283 GB, free: 13.61 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.209237053990364]