Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.FilterPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 114 kB / 16.41 MB, free: 6.379 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.00142/0.00142, allocations: 185.8 kB / 17.33 MB, free: 5.852 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.91 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.004323/1.032, allocations: 2.677 MB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002519/1.035, allocations: 1.66 MB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/1.035, allocations: 5.281 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007648/1.036, allocations: 247 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004061/1.036, allocations: 177.7 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/1.037, allocations: 246.7 kB / 1.094 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005259/1.037, allocations: 476.4 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/1.037, allocations: 151.5 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/1.038, allocations: 198.7 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/1.038, allocations: 195.8 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.061e-05/1.038, allocations: 38.09 kB / 1.095 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/1.038, allocations: 78.94 kB / 1.095 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000166/1.038, allocations: 154.3 kB / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001938/1.039, allocations: 239.9 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008239/1.039, allocations: 0.6685 MB / 1.096 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.039, allocations: 0 / 1.096 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/1.039, allocations: 0.875 kB / 1.096 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.039, allocations: 4 kB / 1.096 GB, free: 1.031 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001393/1.041, allocations: 0.8956 MB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.041, allocations: 10.45 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/1.041, allocations: 75.22 kB / 1.097 GB, free: 300 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006918/1.042, allocations: 496.3 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/1.042, allocations: 12.75 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/1.042, allocations: 26.92 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005248/1.042, allocations: 218.2 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.042, allocations: 1.438 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/1.042, allocations: 5.734 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/1.042, allocations: 8.469 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/1.043, allocations: 165.7 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/1.045, allocations: 0.9012 MB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/1.045, allocations: 229.1 kB / 1.099 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/1.046, allocations: 92.31 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/1.046, allocations: 3.047 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003755/1.046, allocations: 157.6 kB / 1.099 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.664e-06/1.046, allocations: 0 / 1.099 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0008339/1.047, allocations: 323.4 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/1.047, allocations: 80.58 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009686/1.048, allocations: 0.714 MB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/1.048, allocations: 33.84 kB / 1.1 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/1.048, allocations: 289.3 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/1.048, allocations: 50.8 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/1.048, allocations: 67.39 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.048, allocations: 375.5 kB / 1.101 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/1.049, allocations: 126.3 kB / 1.101 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/1.049, allocations: 168.3 kB / 1.101 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/1.05, allocations: 207.7 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.05, allocations: 0 / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007387/1.05, allocations: 359.5 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.05, allocations: 10 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.05, allocations: 5 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.05, allocations: 2.344 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/1.051, allocations: 57.31 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.051, allocations: 2.922 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/1.051, allocations: 51.89 kB / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/1.051, allocations: 8.188 kB / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000427/1.051, allocations: 279.7 kB / 1.102 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002614/1.052, allocations: 159.5 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003563/1.052, allocations: 187.3 kB / 1.102 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/1.052, allocations: 1.094 kB / 1.102 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007063/1.053, allocations: 332.6 kB / 1.103 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.053, allocations: 10.23 kB / 1.103 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/1.053, allocations: 0.5625 kB / 1.103 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-06/1.053, allocations: 6.25 kB / 1.103 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/1.053, allocations: 49.44 kB / 1.103 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/1.053, allocations: 2.281 kB / 1.103 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/1.053, allocations: 41.31 kB / 1.103 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/1.053, allocations: 11.89 kB / 1.103 GB, free: 12.84 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,filPow.assPow.minPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.maxPow.y,filPow.assPow.assMesDP.u,filPow.assPow.assMesP.u,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,filPow.limDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001507/1.054, allocations: 203.3 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/1.054, allocations: 58.72 kB / 1.103 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/1.054, allocations: 67.67 kB / 1.103 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.054, allocations: 1.688 kB / 1.103 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.054, allocations: 4 kB / 1.103 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/1.054, allocations: 134.3 kB / 1.103 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.465e-05/1.054, allocations: 7.203 kB / 1.103 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/1.054, allocations: 28.19 kB / 1.103 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/1.054, allocations: 23.14 kB / 1.103 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008095/1.055, allocations: 348.8 kB / 1.103 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008561/1.056, allocations: 0.516 MB / 1.104 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002193/1.056, allocations: 92.64 kB / 1.104 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006061/1.057, allocations: 477.6 kB / 1.105 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of Backend: time 3.2e-07/1.057, allocations: 1.219 kB / 1.105 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001983/1.059, allocations: 0.7096 MB / 1.105 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002003/1.061, allocations: 1.43 MB / 1.107 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of Templates: time 0.01434/1.075, allocations: 6.089 MB / 1.113 GB, free: 9.953 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches