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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001332/0.001332, allocations: 113.1 kB / 16.42 MB, free: 6.508 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.001453/0.001453, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.416/1.416, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 63.91 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.005424/1.037, allocations: 2.672 MB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003396/1.041, allocations: 1.673 MB / 1.231 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004819/1.041, allocations: 7.938 kB / 1.231 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009424/1.042, allocations: 231 kB / 1.231 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007224/1.043, allocations: 175.1 kB / 1.231 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008424/1.044, allocations: 251.4 kB / 1.231 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008449/1.045, allocations: 482.6 kB / 1.232 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/1.045, allocations: 161.6 kB / 1.232 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/1.045, allocations: 195.2 kB / 1.232 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/1.046, allocations: 203 kB / 1.232 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/1.046, allocations: 36 kB / 1.232 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/1.046, allocations: 87.95 kB / 1.232 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001908/1.046, allocations: 151.5 kB / 1.232 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002872/1.047, allocations: 246.3 kB / 1.233 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/1.048, allocations: 0.6658 MB / 1.233 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.048, allocations: 3.938 kB / 1.233 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.904e-06/1.048, allocations: 0 / 1.233 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.532e-05/1.048, allocations: 0 / 1.233 GB, free: 6.266 MB / 0.9512 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.002034/1.05, allocations: 0.9256 MB / 1.234 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/1.05, allocations: 8.031 kB / 1.234 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/1.05, allocations: 68.52 kB / 1.234 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008391/1.051, allocations: 0.4935 MB / 1.235 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/1.051, allocations: 12.75 kB / 1.235 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-05/1.051, allocations: 27.94 kB / 1.235 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/1.052, allocations: 212.5 kB / 1.235 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.052, allocations: 0 / 1.235 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/1.052, allocations: 12 kB / 1.235 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/1.052, allocations: 4 kB / 1.235 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/1.052, allocations: 171.2 kB / 1.235 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/1.054, allocations: 0.859 MB / 1.236 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009716/1.055, allocations: 302.5 kB / 1.236 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/1.055, allocations: 84.81 kB / 1.236 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/1.055, allocations: 4 kB / 1.236 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003754/1.055, allocations: 175.4 kB / 1.237 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/1.055, allocations: 4 kB / 1.237 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0008263/1.056, allocations: 317.1 kB / 1.237 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/1.056, allocations: 93.03 kB / 1.237 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008629/1.057, allocations: 0.7074 MB / 1.238 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/1.057, allocations: 33.7 kB / 1.238 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/1.058, allocations: 296.5 kB / 1.238 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/1.058, allocations: 51.59 kB / 1.238 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/1.058, allocations: 65.69 kB / 1.238 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.058, allocations: 378.8 kB / 1.239 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/1.058, allocations: 128.8 kB / 1.239 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/1.058, allocations: 195.2 kB / 1.239 GB, free: 436 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004244/1.059, allocations: 206.4 kB / 1.239 GB, free: 220 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.059, allocations: 3.938 kB / 1.239 GB, free: 216 kB / 0.9512 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006782/1.06, allocations: 369.1 kB / 1.239 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.06, allocations: 4 kB / 1.239 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.06, allocations: 0 / 1.239 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/1.06, allocations: 11.88 kB / 1.239 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/1.06, allocations: 60.02 kB / 1.239 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/1.06, allocations: 4 kB / 1.239 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/1.06, allocations: 39.86 kB / 1.239 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/1.06, allocations: 11.98 kB / 1.24 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003726/1.061, allocations: 284 kB / 1.24 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002469/1.061, allocations: 170.8 kB / 1.24 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003414/1.061, allocations: 178.7 kB / 1.24 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/1.061, allocations: 7.938 kB / 1.24 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.000587/1.062, allocations: 345.1 kB / 1.24 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/1.062, allocations: 11.94 kB / 1.24 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/1.062, allocations: 0 / 1.24 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-06/1.062, allocations: 0 / 1.24 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/1.062, allocations: 51.91 kB / 1.241 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.062, allocations: 7.938 kB / 1.241 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/1.062, allocations: 47.91 kB / 1.241 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/1.062, allocations: 12 kB / 1.241 GB, free: 14.58 MB / 0.9669 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.0001585/1.063, allocations: 196.2 kB / 1.241 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-05/1.063, allocations: 63.58 kB / 1.241 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/1.063, allocations: 65.66 kB / 1.241 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/1.063, allocations: 3.984 kB / 1.241 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.063, allocations: 3.938 kB / 1.241 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/1.063, allocations: 140.7 kB / 1.241 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/1.063, allocations: 7.984 kB / 1.241 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/1.063, allocations: 19.98 kB / 1.241 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/1.063, allocations: 31.95 kB / 1.241 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007782/1.064, allocations: 347.4 kB / 1.241 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008414/1.065, allocations: 0.5334 MB / 1.242 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002049/1.065, allocations: 91.97 kB / 1.242 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005065/1.066, allocations: 479 kB / 1.242 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of Backend: time 7.91e-07/1.066, allocations: 4 kB / 1.242 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001964/1.068, allocations: 0.7094 MB / 1.243 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001983/1.07, allocations: 1.459 MB / 1.245 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of Templates: time 0.0139/1.084, allocations: 6.207 MB / 1.251 GB, free: 4.348 MB / 0.9669 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