Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001207/0.001207, allocations: 115.2 kB / 16.42 MB, free: 6.008 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.001317/0.001317, allocations: 187 kB / 17.35 MB, free: 5.625 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.571/1.571, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.376/2.376, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.042, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.00535/1.048, allocations: 2.675 MB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003685/1.052, allocations: 1.658 MB / 1.213 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006413/1.052, allocations: 4 kB / 1.213 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/1.053, allocations: 238.6 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008952/1.054, allocations: 183 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008719/1.055, allocations: 254.7 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007976/1.056, allocations: 482.6 kB / 1.214 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003425/1.056, allocations: 151.8 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/1.057, allocations: 191.1 kB / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/1.057, allocations: 199.1 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.232e-05/1.057, allocations: 40 kB / 1.214 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/1.057, allocations: 83.91 kB / 1.214 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/1.058, allocations: 151.5 kB / 1.215 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003133/1.058, allocations: 250.3 kB / 1.215 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008719/1.059, allocations: 0.6597 MB / 1.215 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.059, allocations: 4 kB / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.394e-06/1.059, allocations: 0 / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.765e-05/1.059, allocations: 3.938 kB / 1.215 GB, free: 6.445 MB / 0.9356 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.001991/1.061, allocations: 0.9102 MB / 1.216 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/1.061, allocations: 8.031 kB / 1.216 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/1.061, allocations: 68.09 kB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007688/1.062, allocations: 488.9 kB / 1.217 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/1.062, allocations: 20.75 kB / 1.217 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/1.062, allocations: 23.94 kB / 1.217 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005766/1.063, allocations: 216.6 kB / 1.217 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.063, allocations: 3.984 kB / 1.217 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/1.063, allocations: 4 kB / 1.217 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/1.063, allocations: 8 kB / 1.217 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/1.063, allocations: 171.2 kB / 1.217 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/1.065, allocations: 0.8588 MB / 1.218 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009494/1.066, allocations: 298.4 kB / 1.218 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/1.066, allocations: 88.81 kB / 1.219 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/1.066, allocations: 7.984 kB / 1.219 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003634/1.066, allocations: 161 kB / 1.219 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.294e-06/1.066, allocations: 0 / 1.219 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0008327/1.067, allocations: 334.3 kB / 1.219 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/1.067, allocations: 77.11 kB / 1.219 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008789/1.068, allocations: 0.7112 MB / 1.22 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/1.068, allocations: 37.7 kB / 1.22 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/1.068, allocations: 292.3 kB / 1.22 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/1.068, allocations: 51.34 kB / 1.22 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/1.069, allocations: 65.59 kB / 1.22 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.069, allocations: 386.8 kB / 1.221 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/1.069, allocations: 124.8 kB / 1.221 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/1.069, allocations: 182.8 kB / 1.221 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/1.07, allocations: 206.4 kB / 1.221 GB, free: 452 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.07, allocations: 0 / 1.221 GB, free: 452 kB / 0.9356 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000723/1.07, allocations: 368.7 kB / 1.221 GB, free: 76 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.071, allocations: 8 kB / 1.221 GB, free: 68 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/1.071, allocations: 0 / 1.221 GB, free: 68 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/1.071, allocations: 3.938 kB / 1.221 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/1.071, allocations: 55.91 kB / 1.221 GB, free: 8 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/1.071, allocations: 3.984 kB / 1.221 GB, free: 4 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/1.071, allocations: 47.86 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/1.071, allocations: 12 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003833/1.072, allocations: 280 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00025/1.072, allocations: 175.8 kB / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003476/1.072, allocations: 194.4 kB / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/1.072, allocations: 0 / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.000593/1.073, allocations: 337 kB / 1.222 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/1.073, allocations: 4.062 kB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/1.073, allocations: 4 kB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-06/1.073, allocations: 4 kB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/1.073, allocations: 59.84 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/1.073, allocations: 3.984 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/1.073, allocations: 39.81 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/1.073, allocations: 15.94 kB / 1.223 GB, free: 14.81 MB / 0.9512 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 (31): * Single equations (assignments): 31 * 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.0001663/1.074, allocations: 204.1 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/1.074, allocations: 63.25 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/1.074, allocations: 65.64 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.074, allocations: 4 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.074, allocations: 0 / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/1.074, allocations: 136.3 kB / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-05/1.074, allocations: 8 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/1.074, allocations: 23.97 kB / 1.223 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/1.074, allocations: 27.97 kB / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008325/1.075, allocations: 356.5 kB / 1.223 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008219/1.076, allocations: 0.5161 MB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002283/1.076, allocations: 108 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005244/1.077, allocations: 471 kB / 1.224 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of Backend: time 8.81e-07/1.077, allocations: 0 / 1.224 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002266/1.079, allocations: 0.71 MB / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002317/1.081, allocations: 1.434 MB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of Templates: time 0.01305/1.094, allocations: 6.205 MB / 1.233 GB, free: 4.605 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches