Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008289/0.0008289, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007897/0.0007897, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8678/0.8678, allocations: 177.2 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.726/1.726, allocations: 377.8 MB / 0.6228 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.075e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002903/0.002924, allocations: 2.38 MB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.004551, allocations: 1.563 MB / 0.9861 GB, free: 14.13 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.004674, allocations: 11.88 kB / 0.9861 GB, free: 14.12 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.005174, allocations: 214.8 kB / 0.9863 GB, free: 13.91 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.005512, allocations: 202.9 kB / 0.9865 GB, free: 13.71 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.005728, allocations: 159.4 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.00602, allocations: 370.7 kB / 0.987 GB, free: 13.19 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.006168, allocations: 60.88 kB / 0.987 GB, free: 13.13 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.006327, allocations: 195.5 kB / 0.9872 GB, free: 12.94 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.006467, allocations: 127.6 kB / 0.9873 GB, free: 12.82 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.006495, allocations: 24 kB / 0.9874 GB, free: 12.79 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.006597, allocations: 71.83 kB / 0.9874 GB, free: 12.72 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.486e-05/0.006691, allocations: 131.5 kB / 0.9876 GB, free: 12.59 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.446e-05/0.006766, allocations: 95.58 kB / 0.9876 GB, free: 12.5 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.007168, allocations: 0.5021 MB / 0.9881 GB, free: 12 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.00717, allocations: 0 / 0.9881 GB, free: 12 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.007171, allocations: 11.94 kB / 0.9881 GB, free: 11.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.007176, allocations: 0 / 0.9881 GB, free: 11.98 MB / 0.948 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.0007965/0.007973, allocations: 0.7445 MB / 0.9889 GB, free: 11.21 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.008009, allocations: 8.031 kB / 0.9889 GB, free: 11.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.008079, allocations: 60.56 kB / 0.9889 GB, free: 11.14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.00845, allocations: 370.7 kB / 0.9893 GB, free: 10.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.008467, allocations: 16.38 kB / 0.9893 GB, free: 10.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.008494, allocations: 12.38 kB / 0.9893 GB, free: 10.72 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.008707, allocations: 197.2 kB / 0.9895 GB, free: 10.51 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.008716, allocations: 0 / 0.9895 GB, free: 10.51 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.008728, allocations: 0 / 0.9895 GB, free: 10.51 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.008734, allocations: 4 kB / 0.9895 GB, free: 10.51 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.008863, allocations: 87.95 kB / 0.9896 GB, free: 10.42 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009384/0.009801, allocations: 0.5427 MB / 0.9901 GB, free: 9.848 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.01001, allocations: 130.7 kB / 0.9903 GB, free: 9.711 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.49e-05/0.01007, allocations: 40.84 kB / 0.9903 GB, free: 9.668 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.01008, allocations: 0 / 0.9903 GB, free: 9.668 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.01024, allocations: 158.7 kB / 0.9904 GB, free: 9.488 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.01024, allocations: 0 / 0.9904 GB, free: 9.488 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.0002961/0.01054, allocations: 221.1 kB / 0.9907 GB, free: 9.266 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.01057, allocations: 51.41 kB / 0.9907 GB, free: 9.203 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.01103, allocations: 0.672 MB / 0.9914 GB, free: 8.523 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.01105, allocations: 33.7 kB / 0.9914 GB, free: 8.484 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.01119, allocations: 260.5 kB / 0.9916 GB, free: 8.227 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.01123, allocations: 35.69 kB / 0.9917 GB, free: 8.191 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.01128, allocations: 53.7 kB / 0.9917 GB, free: 8.133 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.01139, allocations: 370.8 kB / 0.9921 GB, free: 7.762 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/0.01148, allocations: 75.97 kB / 0.9922 GB, free: 7.688 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.0116, allocations: 162.8 kB / 0.9923 GB, free: 7.504 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.01174, allocations: 135.7 kB / 0.9924 GB, free: 7.367 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01174, allocations: 4.031 kB / 0.9924 GB, free: 7.363 MB / 0.948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002518/0.01199, allocations: 279.9 kB / 0.9927 GB, free: 7.086 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.012, allocations: 7.938 kB / 0.9927 GB, free: 7.078 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.01201, allocations: 0 / 0.9927 GB, free: 7.078 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.01202, allocations: 4 kB / 0.9927 GB, free: 7.074 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.01213, allocations: 35.97 kB / 0.9928 GB, free: 7.039 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.01214, allocations: 0 / 0.9928 GB, free: 7.039 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.663e-05/0.01223, allocations: 27.88 kB / 0.9928 GB, free: 7.012 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.01224, allocations: 12.03 kB / 0.9928 GB, free: 7 MB / 0.948 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.0001475/0.01239, allocations: 210.2 kB / 0.993 GB, free: 6.785 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.01243, allocations: 59.56 kB / 0.993 GB, free: 6.727 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.01265, allocations: 186.5 kB / 0.9932 GB, free: 6.539 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01265, allocations: 3.938 kB / 0.9932 GB, free: 6.535 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01265, allocations: 0 / 0.9932 GB, free: 6.535 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01266, allocations: 3.938 kB / 0.9932 GB, free: 6.531 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.01285, allocations: 293.1 kB / 0.9935 GB, free: 6.215 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01285, allocations: 0 / 0.9935 GB, free: 6.215 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.01289, allocations: 15.98 kB / 0.9935 GB, free: 6.199 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.0129, allocations: 4 kB / 0.9935 GB, free: 6.195 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.01291, allocations: 7.938 kB / 0.9935 GB, free: 6.188 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01291, allocations: 3.984 kB / 0.9935 GB, free: 6.184 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01291, allocations: 0 / 0.9935 GB, free: 6.184 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.01318, allocations: 276.3 kB / 0.9938 GB, free: 5.898 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.01323, allocations: 59.55 kB / 0.9939 GB, free: 5.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.01325, allocations: 7.875 kB / 0.9939 GB, free: 5.832 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.01332, allocations: 15.98 kB / 0.9939 GB, free: 5.816 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.01337, allocations: 24.02 kB / 0.9939 GB, free: 5.793 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.01338, allocations: 8 kB / 0.9939 GB, free: 5.785 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002986/0.01368, allocations: 447 kB / 0.9943 GB, free: 5.355 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01368, allocations: 0 / 0.9943 GB, free: 5.355 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000195/0.01387, allocations: 63.89 kB / 0.9944 GB, free: 5.293 MB / 0.948 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.0007113/0.01458, allocations: 451.9 kB / 0.9948 GB, free: 5.027 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.0148, allocations: 143.9 kB / 0.995 GB, free: 4.887 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.0148, allocations: 4.062 kB / 0.995 GB, free: 4.883 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.164e-05/0.01487, allocations: 55.92 kB / 0.995 GB, free: 4.828 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.01513, allocations: 71.67 kB / 0.9951 GB, free: 4.762 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008422/0.01597, allocations: 0.8747 MB / 0.996 GB, free: 3.852 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.01613, allocations: 254.5 kB / 0.9962 GB, free: 3.578 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.01619, allocations: 36.48 kB / 0.9962 GB, free: 3.543 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/0.01619, allocations: 0 / 0.9962 GB, free: 3.543 MB / 0.948 GB Notification: Performance of Templates: time 0.005313/0.0215, allocations: 5.718 MB / 1.002 GB, free: 13.86 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.3872247114777565]