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.0007862/0.0007862, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008864/0.0008864, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8858/0.8858, allocations: 177.1 MB / 202.8 MB, free: 5.746 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 1.751/1.751, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.539e-06/4.539e-06, allocations: 4 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.459e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003233/0.003258, allocations: 2.356 MB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.005021, allocations: 1.58 MB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.005186, allocations: 7.938 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005241/0.00571, allocations: 223.3 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.006098, allocations: 206.8 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.006388, allocations: 163.4 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.006726, allocations: 370.7 kB / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.006875, allocations: 52.91 kB / 1.004 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.007068, allocations: 195.5 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.007219, allocations: 131.6 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.007249, allocations: 24 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.007359, allocations: 63.92 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.00746, allocations: 131.5 kB / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.026e-05/0.007541, allocations: 107.6 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.007955, allocations: 0.4982 MB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.007958, allocations: 0 / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.203e-06/0.007959, allocations: 0 / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.007966, allocations: 0 / 1.006 GB, free: 7.418 MB / 0.9636 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.0008889/0.008854, allocations: 0.7484 MB / 1.006 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.008894, allocations: 12.75 kB / 1.006 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.008933, allocations: 42.73 kB / 1.006 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.00901, allocations: 64.52 kB / 1.006 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.009413, allocations: 378.6 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.009429, allocations: 8.375 kB / 1.007 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.009455, allocations: 16.38 kB / 1.007 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.009676, allocations: 189.1 kB / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.009684, allocations: 0 / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.009696, allocations: 8 kB / 1.007 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.009703, allocations: 12 kB / 1.007 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.009831, allocations: 87.94 kB / 1.007 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.0105, allocations: 0.558 MB / 1.008 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.01071, allocations: 130.7 kB / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.065e-05/0.01077, allocations: 40.84 kB / 1.008 GB, free: 5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.01079, allocations: 7.938 kB / 1.008 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.01096, allocations: 158.7 kB / 1.008 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.01096, allocations: 0 / 1.008 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.000308/0.01127, allocations: 217.2 kB / 1.008 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.01129, allocations: 51.41 kB / 1.008 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004842/0.01178, allocations: 0.6681 MB / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.0118, allocations: 33.7 kB / 1.009 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.01194, allocations: 264.4 kB / 1.009 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.01198, allocations: 35.67 kB / 1.009 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.01204, allocations: 69.62 kB / 1.009 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.01214, allocations: 370.8 kB / 1.01 GB, free: 3.07 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.37e-05/0.01224, allocations: 75.91 kB / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.01236, allocations: 166.8 kB / 1.01 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.0125, allocations: 124.9 kB / 1.01 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.0125, allocations: 0 / 1.01 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002619/0.01276, allocations: 285 kB / 1.01 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.01278, allocations: 5.719 kB / 1.01 GB, free: 2.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01278, allocations: 3.984 kB / 1.01 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.01279, allocations: 8.062 kB / 1.01 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.01291, allocations: 35.92 kB / 1.01 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.01292, allocations: 0 / 1.01 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.234e-05/0.01301, allocations: 27.91 kB / 1.01 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.01303, allocations: 8 kB / 1.01 GB, free: 2.312 MB / 0.9636 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.0001478/0.01318, allocations: 201.8 kB / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.01322, allocations: 59.56 kB / 1.011 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.01345, allocations: 194.4 kB / 1.011 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01346, allocations: 0 / 1.011 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01346, allocations: 0 / 1.011 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01346, allocations: 0 / 1.011 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.01368, allocations: 324.5 kB / 1.011 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01368, allocations: 7.938 kB / 1.011 GB, free: 1.477 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.01373, allocations: 8 kB / 1.011 GB, free: 1.469 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01373, allocations: 0 / 1.011 GB, free: 1.469 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.01374, allocations: 7.984 kB / 1.011 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01374, allocations: 4 kB / 1.011 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01374, allocations: 0 / 1.011 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.01402, allocations: 268.6 kB / 1.011 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.01408, allocations: 63.53 kB / 1.011 GB, free: 1.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.01411, allocations: 8 kB / 1.011 GB, free: 1.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.01418, allocations: 19.97 kB / 1.011 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.01423, allocations: 19.97 kB / 1.011 GB, free: 1.066 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.01424, allocations: 8 kB / 1.011 GB, free: 1.059 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003128/0.01455, allocations: 443 kB / 1.012 GB, free: 0.6328 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01455, allocations: 0 / 1.012 GB, free: 0.6328 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002043/0.01475, allocations: 59.94 kB / 1.012 GB, free: 0.5742 MB / 0.9636 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.001125/0.01588, allocations: 1.152 MB / 1.013 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.0161, allocations: 157.9 kB / 1.013 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.01611, allocations: 0 / 1.013 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 7.274e-05/0.01618, allocations: 51.91 kB / 1.013 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.01645, allocations: 83.17 kB / 1.013 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.01952, allocations: 3.799 MB / 1.017 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.01968, allocations: 270.4 kB / 1.017 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.01978, allocations: 50.89 kB / 1.017 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.01993, allocations: 164.4 kB / 1.018 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of SimCode: time 3.1e-07/0.01993, allocations: 0 / 1.018 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.0431, allocations: 10.31 MB / 1.028 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.056/7.099, allocations: 6.438 kB / 1.028 GB, free: 0.7109 MB / 0.9792 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.146005661226809]