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.001596/0.001596, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001857/0.001857, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.656/1.656, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.936/2.936, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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 2.154e-06/2.154e-06, allocations: 0.5469 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.52e-05, allocations: 3.469 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.005263/0.005298, allocations: 2.37 MB / 0.7887 GB, free: 9.312 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003776/0.009074, allocations: 1.572 MB / 0.7902 GB, free: 7.738 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.009388, allocations: 7.938 kB / 0.7902 GB, free: 7.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000846/0.01023, allocations: 215.2 kB / 0.7905 GB, free: 7.523 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007666/0.011, allocations: 210.8 kB / 0.7907 GB, free: 7.324 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005526/0.01155, allocations: 159.5 kB / 0.7908 GB, free: 7.168 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00071/0.01226, allocations: 370.7 kB / 0.7912 GB, free: 6.805 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.01249, allocations: 52.91 kB / 0.7912 GB, free: 6.754 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003894/0.01288, allocations: 195.5 kB / 0.7914 GB, free: 6.562 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.01316, allocations: 131.6 kB / 0.7915 GB, free: 6.434 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.57e-05/0.01324, allocations: 20.72 kB / 0.7915 GB, free: 6.414 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.01343, allocations: 63.92 kB / 0.7916 GB, free: 6.352 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.01362, allocations: 132 kB / 0.7917 GB, free: 6.223 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.0138, allocations: 103.6 kB / 0.7918 GB, free: 6.121 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.01498, allocations: 0.5068 MB / 0.7923 GB, free: 5.613 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.01498, allocations: 0 / 0.7923 GB, free: 5.613 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.01498, allocations: 0.8125 kB / 0.7923 GB, free: 5.613 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.346e-05/0.015, allocations: 0 / 0.7923 GB, free: 5.613 MB / 0.698 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.001916/0.01692, allocations: 0.7464 MB / 0.793 GB, free: 4.836 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.01697, allocations: 8.031 kB / 0.7931 GB, free: 4.828 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.01719, allocations: 69.75 kB / 0.7931 GB, free: 4.762 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000776/0.01797, allocations: 382.7 kB / 0.7935 GB, free: 4.359 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.018, allocations: 13.03 kB / 0.7935 GB, free: 4.348 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.01806, allocations: 16.36 kB / 0.7935 GB, free: 4.332 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.01848, allocations: 194 kB / 0.7937 GB, free: 4.125 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.0185, allocations: 3.938 kB / 0.7937 GB, free: 4.121 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.01852, allocations: 5.219 kB / 0.7937 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.01853, allocations: 4 kB / 0.7937 GB, free: 4.113 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.01877, allocations: 83.95 kB / 0.7938 GB, free: 4.031 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.02011, allocations: 0.5409 MB / 0.7943 GB, free: 3.461 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.0205, allocations: 134 kB / 0.7944 GB, free: 3.324 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.02062, allocations: 40.84 kB / 0.7945 GB, free: 3.281 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.02065, allocations: 3.938 kB / 0.7945 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003095/0.02096, allocations: 162.7 kB / 0.7946 GB, free: 3.094 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.02096, allocations: 0 / 0.7946 GB, free: 3.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0006295/0.02159, allocations: 217.2 kB / 0.7949 GB, free: 2.875 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.02164, allocations: 60.41 kB / 0.7949 GB, free: 2.805 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.02268, allocations: 0.6642 MB / 0.7956 GB, free: 2.133 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.02273, allocations: 33.7 kB / 0.7956 GB, free: 2.094 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.02302, allocations: 261 kB / 0.7958 GB, free: 1.836 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.02308, allocations: 40.25 kB / 0.7959 GB, free: 1.797 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.02321, allocations: 49.7 kB / 0.7959 GB, free: 1.742 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002736/0.02348, allocations: 375.3 kB / 0.7963 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.02366, allocations: 77.06 kB / 0.7964 GB, free: 1.293 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.02393, allocations: 167.5 kB / 0.7965 GB, free: 1.105 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.02422, allocations: 132.6 kB / 0.7966 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.02422, allocations: 0 / 0.7966 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000555/0.02478, allocations: 279 kB / 0.7969 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.0248, allocations: 7.938 kB / 0.7969 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.02481, allocations: 1.312 kB / 0.7969 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.02483, allocations: 7.938 kB / 0.7969 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.02505, allocations: 35.97 kB / 0.797 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.02506, allocations: 0 / 0.797 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.02528, allocations: 29.22 kB / 0.797 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.02532, allocations: 12 kB / 0.797 GB, free: 0.6055 MB / 0.698 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.0002827/0.0256, allocations: 202.7 kB / 0.7972 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.02571, allocations: 68.78 kB / 0.7973 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000478/0.02619, allocations: 193.7 kB / 0.7974 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.0262, allocations: 4 kB / 0.7974 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.0262, allocations: 0.9688 kB / 0.7975 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.02621, allocations: 3.984 kB / 0.7975 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.02663, allocations: 291.4 kB / 0.7977 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.02663, allocations: 3.938 kB / 0.7977 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.959e-05/0.02671, allocations: 12 kB / 0.7977 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.02672, allocations: 4 kB / 0.7978 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.02675, allocations: 11.92 kB / 0.7978 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.02675, allocations: 0 / 0.7978 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.02675, allocations: 3.938 kB / 0.7978 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.02735, allocations: 273.8 kB / 0.798 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.02745, allocations: 51.66 kB / 0.7981 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.02751, allocations: 12.81 kB / 0.7981 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.02765, allocations: 16.42 kB / 0.7981 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.02776, allocations: 23.95 kB / 0.7981 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.02778, allocations: 4.781 kB / 0.7981 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000612/0.02839, allocations: 447 kB / 0.7986 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.02839, allocations: 1.188 kB / 0.7986 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003504/0.02874, allocations: 63.89 kB / 0.7986 GB, free: 14.9 MB / 0.7136 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.002164/0.0309, allocations: 453.8 kB / 0.7991 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008202/0.03172, allocations: 149.7 kB / 0.7992 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.03173, allocations: 0 / 0.7992 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.03188, allocations: 51.91 kB / 0.7992 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.03243, allocations: 84.09 kB / 0.7993 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.0344, allocations: 0.8345 MB / 0.8001 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.03479, allocations: 266.3 kB / 0.8004 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.03496, allocations: 54.92 kB / 0.8004 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.03507, allocations: 32.5 kB / 0.8005 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of SimCode: time 1.001e-06/0.03507, allocations: 0 / 0.8005 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.0119/0.04698, allocations: 4.218 MB / 0.8046 GB, free: 9 MB / 0.7136 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.568737840047106]