Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001001/0.001001, allocations: 84.39 kB / 21.47 MB, free: 3.031 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.0009592/0.0009592, allocations: 169.5 kB / 24.87 MB, free: 8.895 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.9382/0.9382, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.794/1.794, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.923e-05, allocations: 3.188 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002894/0.002913, allocations: 2.448 MB / 0.7907 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.004826, allocations: 1.602 MB / 0.7923 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.004965, allocations: 7.938 kB / 0.7923 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005038/0.005469, allocations: 212.2 kB / 0.7925 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.00583, allocations: 210.3 kB / 0.7927 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.006085, allocations: 164 kB / 0.7928 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.006402, allocations: 371.5 kB / 0.7932 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.00654, allocations: 56.89 kB / 0.7933 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005069/0.007047, allocations: 231.4 kB / 0.7935 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.007195, allocations: 131.6 kB / 0.7936 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.007225, allocations: 21.38 kB / 0.7936 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.007328, allocations: 59.97 kB / 0.7937 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.574e-05/0.007424, allocations: 131.5 kB / 0.7938 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.772e-05/0.007501, allocations: 97.33 kB / 0.7939 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.007825, allocations: 338.5 kB / 0.7942 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.007827, allocations: 0 / 0.7942 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.007827, allocations: 0 / 0.7942 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.007832, allocations: 0 / 0.7942 GB, free: 6.168 MB / 0.7448 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.0007248/0.008557, allocations: 0.8651 MB / 0.7951 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.00859, allocations: 16.81 kB / 0.7951 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.265e-05/0.008663, allocations: 76.52 kB / 0.7952 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.008963, allocations: 361.2 kB / 0.7955 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.008981, allocations: 12.38 kB / 0.7955 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.009004, allocations: 13.75 kB / 0.7955 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.009166, allocations: 162.2 kB / 0.7957 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.009175, allocations: 3.938 kB / 0.7957 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.009189, allocations: 11.98 kB / 0.7957 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.009193, allocations: 1.5 kB / 0.7957 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.2e-05/0.009265, allocations: 39.95 kB / 0.7957 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.009767, allocations: 0.4947 MB / 0.7962 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.009906, allocations: 99.12 kB / 0.7963 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.009935, allocations: 19.69 kB / 0.7963 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.009948, allocations: 0 / 0.7963 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.01007, allocations: 132.9 kB / 0.7965 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.01007, allocations: 0.5 kB / 0.7965 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002183/0.01029, allocations: 171 kB / 0.7966 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.01031, allocations: 59.39 kB / 0.7967 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.01068, allocations: 0.6047 MB / 0.7973 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.0107, allocations: 37.69 kB / 0.7973 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.01086, allocations: 339 kB / 0.7976 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.01089, allocations: 36.56 kB / 0.7977 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.01095, allocations: 63.31 kB / 0.7977 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.0111, allocations: 0.5663 MB / 0.7983 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.651e-05/0.01114, allocations: 28.75 kB / 0.7983 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-05/0.01121, allocations: 122.1 kB / 0.7984 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.331e-05/0.01129, allocations: 71.42 kB / 0.7985 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01129, allocations: 2.844 kB / 0.7985 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001757/0.01146, allocations: 185.1 kB / 0.7987 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.01147, allocations: 4 kB / 0.7987 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.01148, allocations: 0 / 0.7987 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.01149, allocations: 7.938 kB / 0.7987 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.494e-05/0.01158, allocations: 31.98 kB / 0.7987 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.01159, allocations: 6.094 kB / 0.7987 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.13e-05/0.01166, allocations: 19.88 kB / 0.7987 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.01167, allocations: 8 kB / 0.7987 GB, free: 1.285 MB / 0.7448 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 9.928e-05/0.01177, allocations: 169.5 kB / 0.7989 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.01182, allocations: 63.61 kB / 0.799 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.01199, allocations: 146.4 kB / 0.7991 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01199, allocations: 5.062 kB / 0.7991 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.01199, allocations: 0 / 0.7991 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01199, allocations: 3.938 kB / 0.7991 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.01217, allocations: 250 kB / 0.7993 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.01217, allocations: 0 / 0.7993 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.01221, allocations: 12 kB / 0.7994 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01221, allocations: 1.219 kB / 0.7994 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.01222, allocations: 4 kB / 0.7994 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.01223, allocations: 8 kB / 0.7994 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.01223, allocations: 5.734 kB / 0.7994 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.01242, allocations: 210.8 kB / 0.7996 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.01246, allocations: 55.59 kB / 0.7996 GB, free: 316 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.01249, allocations: 0 / 0.7996 GB, free: 316 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.301e-05/0.01254, allocations: 13.34 kB / 0.7996 GB, free: 304 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.01259, allocations: 27.89 kB / 0.7997 GB, free: 276 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.0126, allocations: 7.984 kB / 0.7997 GB, free: 268 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002102/0.01281, allocations: 364 kB / 0.8 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01281, allocations: 0 / 0.8 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001937/0.013, allocations: 63.89 kB / 0.8001 GB, free: 15.85 MB / 0.7605 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.0007886/0.01379, allocations: 408.8 kB / 0.8005 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.01392, allocations: 85.53 kB / 0.8006 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01392, allocations: 0 / 0.8006 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.248e-05/0.01397, allocations: 51.05 kB / 0.8006 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.01423, allocations: 74.42 kB / 0.8007 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008332/0.01507, allocations: 0.7267 MB / 0.8014 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.014e-05/0.01515, allocations: 124.2 kB / 0.8015 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.522e-05/0.01522, allocations: 46.92 kB / 0.8015 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.01536, allocations: 134.2 kB / 0.8017 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of SimCode: time 6.31e-07/0.01536, allocations: 0 / 0.8017 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of Templates: time 0.006932/0.02229, allocations: 4.571 MB / 0.8061 GB, free: 9.812 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.878680007066578]