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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9337/0.9337, allocations: 177.1 MB / 203.7 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.532/2.532, allocations: 438.1 MB / 0.682 GB, free: 14.21 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.184e-06/2.184e-06, allocations: 0 / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.695e-05/3.913e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004631/0.00467, allocations: 2.468 MB / 0.8922 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002745/0.007415, allocations: 1.599 MB / 0.8937 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003116/0.007727, allocations: 7.938 kB / 0.8937 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008399/0.008567, allocations: 223.2 kB / 0.894 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006486/0.009215, allocations: 210.8 kB / 0.8942 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.009664, allocations: 163.5 kB / 0.8943 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004824/0.01015, allocations: 362.7 kB / 0.8947 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.01035, allocations: 60.89 kB / 0.8947 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008739/0.01123, allocations: 229.5 kB / 0.8949 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.0115, allocations: 131.6 kB / 0.8951 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.01154, allocations: 20 kB / 0.8951 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.01174, allocations: 59.97 kB / 0.8951 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.01187, allocations: 127.5 kB / 0.8953 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.01196, allocations: 99.58 kB / 0.8953 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.01254, allocations: 338.5 kB / 0.8957 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.01255, allocations: 0 / 0.8957 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.605e-06/0.01255, allocations: 4 kB / 0.8957 GB, free: 3.68 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.609e-06/0.01256, allocations: 0 / 0.8957 GB, free: 3.68 MB / 0.8542 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.001065/0.01363, allocations: 0.8638 MB / 0.8965 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.01368, allocations: 12.62 kB / 0.8965 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.496e-05/0.01378, allocations: 72.55 kB / 0.8966 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.01416, allocations: 367.9 kB / 0.897 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.01419, allocations: 12.38 kB / 0.897 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.01422, allocations: 16.38 kB / 0.897 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.01445, allocations: 167.4 kB / 0.8971 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.01446, allocations: 3.938 kB / 0.8971 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.01448, allocations: 4 kB / 0.8971 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.01448, allocations: 4 kB / 0.8971 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-05/0.01457, allocations: 43.88 kB / 0.8972 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.01524, allocations: 0.4958 MB / 0.8977 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.01543, allocations: 95.19 kB / 0.8978 GB, free: 1.414 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.01547, allocations: 23.67 kB / 0.8978 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.0155, allocations: 0 / 0.8978 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.01569, allocations: 140.4 kB / 0.8979 GB, free: 1.223 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.395e-06/0.01569, allocations: 0 / 0.8979 GB, free: 1.223 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002997/0.01599, allocations: 161.2 kB / 0.8981 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.01603, allocations: 55.41 kB / 0.8981 GB, free: 0.9922 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005233/0.01655, allocations: 0.6086 MB / 0.8987 GB, free: 376 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.01658, allocations: 37.7 kB / 0.8988 GB, free: 332 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.01684, allocations: 335.2 kB / 0.8991 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.01688, allocations: 43.67 kB / 0.8991 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.01696, allocations: 59.31 kB / 0.8992 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.01714, allocations: 0.5703 MB / 0.8997 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.264e-05/0.01718, allocations: 23.97 kB / 0.8998 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.159e-05/0.01727, allocations: 121.4 kB / 0.8999 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.01742, allocations: 76.91 kB / 0.8999 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01743, allocations: 0 / 0.8999 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002172/0.01765, allocations: 186.6 kB / 0.9001 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.01767, allocations: 8 kB / 0.9001 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01767, allocations: 0 / 0.9001 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.01769, allocations: 3.75 kB / 0.9001 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.01781, allocations: 35.92 kB / 0.9002 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01781, allocations: 4 kB / 0.9002 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.31e-05/0.01789, allocations: 23.88 kB / 0.9002 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.01792, allocations: 8 kB / 0.9002 GB, free: 14.78 MB / 0.8698 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.0001361/0.01805, allocations: 180.5 kB / 0.9004 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.0181, allocations: 63.62 kB / 0.9004 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.01833, allocations: 138.4 kB / 0.9006 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01834, allocations: 0 / 0.9006 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01834, allocations: 0 / 0.9006 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.01835, allocations: 7.984 kB / 0.9006 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.01861, allocations: 241 kB / 0.9008 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01861, allocations: 0 / 0.9008 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.01867, allocations: 11.94 kB / 0.9008 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.01867, allocations: 0 / 0.9008 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.01869, allocations: 11.98 kB / 0.9008 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.01869, allocations: 4 kB / 0.9008 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.0187, allocations: 3.938 kB / 0.9008 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.01897, allocations: 207.5 kB / 0.901 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.01902, allocations: 59.53 kB / 0.9011 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.01905, allocations: 4 kB / 0.9011 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.0191, allocations: 11.98 kB / 0.9011 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.01916, allocations: 27.84 kB / 0.9011 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.01917, allocations: 7.984 kB / 0.9011 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002299/0.0194, allocations: 358.9 kB / 0.9015 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.0194, allocations: 0 / 0.9015 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002374/0.01963, allocations: 71.91 kB / 0.9016 GB, free: 13.34 MB / 0.8698 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 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001196/0.02083, allocations: 396.8 kB / 0.9019 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.02102, allocations: 87.56 kB / 0.902 GB, free: 13 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.02102, allocations: 0 / 0.902 GB, free: 13 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.664e-05/0.02109, allocations: 47.59 kB / 0.9021 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.02142, allocations: 82.25 kB / 0.9021 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.02259, allocations: 0.7267 MB / 0.9028 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.376e-05/0.02267, allocations: 132.2 kB / 0.903 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.931e-05/0.02277, allocations: 38.95 kB / 0.903 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.02292, allocations: 134.2 kB / 0.9031 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of SimCode: time 1.704e-06/0.02292, allocations: 0 / 0.9031 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of Templates: time 0.009311/0.03223, allocations: 4.488 MB / 0.9075 GB, free: 7.379 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.921466711908579]