Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 194.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437 MB / 0.71 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6761/0.6773, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003954/0.6813, allocations: 2.484 MB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002295/0.6837, allocations: 1.483 MB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.6839, allocations: 7.938 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006412/0.6846, allocations: 217.1 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.6849, allocations: 135.4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.6853, allocations: 163.3 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.6857, allocations: 358.9 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.6859, allocations: 84.72 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.6861, allocations: 135.4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.6863, allocations: 167.2 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.6863, allocations: 24 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.6865, allocations: 63.97 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.6866, allocations: 135.4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.6867, allocations: 194.6 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.6872, allocations: 0.498 MB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6873, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6873, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.6873, allocations: 3.938 kB / 1.023 GB, free: 12.59 MB / 0.7794 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.001106/0.6884, allocations: 0.7968 MB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.6884, allocations: 12.03 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.395e-05/0.6885, allocations: 56.19 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.689, allocations: 419.9 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.6891, allocations: 12.38 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.6891, allocations: 19.94 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.6894, allocations: 126.8 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.6894, allocations: 8 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.6894, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.6895, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.6896, allocations: 79.95 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.6907, allocations: 0.6523 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.6912, allocations: 130.7 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.6913, allocations: 48.84 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.6913, allocations: 4 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.6915, allocations: 107.3 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.6916, allocations: 0 / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0005021/0.6921, allocations: 212.9 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.6921, allocations: 55.41 kB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007024/0.6928, allocations: 0.6514 MB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.6929, allocations: 33.7 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.6931, allocations: 256.4 kB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.6931, allocations: 39.48 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.712e-05/0.6932, allocations: 53.69 kB / 1.026 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00021/0.6934, allocations: 366.8 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.6936, allocations: 79.97 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.6938, allocations: 124.8 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.694, allocations: 131.7 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.694, allocations: 0 / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004491/0.6945, allocations: 270.3 kB / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.6945, allocations: 7.938 kB / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6945, allocations: 4 kB / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.6945, allocations: 0 / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.6947, allocations: 47.97 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.6948, allocations: 4 kB / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.6949, allocations: 27.83 kB / 1.027 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.695, allocations: 11.94 kB / 1.027 GB, free: 7.547 MB / 0.7794 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.0002471/0.6952, allocations: 214.2 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/0.6953, allocations: 51.28 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.6954, allocations: 60.66 kB / 1.028 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6954, allocations: 4 kB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6954, allocations: 0 / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.6955, allocations: 0 / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/0.6959, allocations: 381.3 kB / 1.028 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6959, allocations: 0 / 1.028 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-05/0.696, allocations: 11.98 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.696, allocations: 0 / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.696, allocations: 0 / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.696, allocations: 0 / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.696, allocations: 4 kB / 1.028 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.6965, allocations: 268.2 kB / 1.028 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.6966, allocations: 124.4 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.6967, allocations: 7.984 kB / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.6968, allocations: 15.98 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.761e-05/0.6969, allocations: 23.97 kB / 1.029 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.6969, allocations: 4 kB / 1.029 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005492/0.6975, allocations: 430.8 kB / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6975, allocations: 0 / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003137/0.6978, allocations: 63.91 kB / 1.029 GB, free: 5.824 MB / 0.7794 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.00116/0.699, allocations: 423.9 kB / 1.029 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.6994, allocations: 156.5 kB / 1.03 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6994, allocations: 0 / 1.03 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.6996, allocations: 63.97 kB / 1.03 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.7, allocations: 71.56 kB / 1.03 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.7014, allocations: 0.9583 MB / 1.031 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.7019, allocations: 0.8619 MB / 1.031 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.702, allocations: 38.27 kB / 1.032 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.866e-05/0.7021, allocations: 27.42 kB / 1.032 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7021, allocations: 4 kB / 1.032 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of Templates: time 0.008853/0.711, allocations: 3.885 MB / 1.035 GB, free: 15.48 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches