Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.FilterPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_10_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_10_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.001565/0.001565, allocations: 111.7 kB / 16.42 MB, free: 6.48 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.001757/0.001757, allocations: 185.7 kB / 17.34 MB, free: 5.746 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.512/2.512, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 68.12 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.08, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.005924/1.086, allocations: 2.688 MB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003349/1.09, allocations: 1.658 MB / 1.172 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005087/1.09, allocations: 7.938 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009477/1.091, allocations: 230.8 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007353/1.092, allocations: 179 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007976/1.093, allocations: 253.2 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009424/1.094, allocations: 478.6 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/1.094, allocations: 151.7 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000402/1.095, allocations: 199.1 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000365/1.095, allocations: 203.1 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/1.095, allocations: 36 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/1.095, allocations: 79.92 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/1.096, allocations: 155.5 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000279/1.096, allocations: 242.3 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009444/1.097, allocations: 0.6696 MB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.097, allocations: 0 / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.013e-06/1.097, allocations: 0 / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.191e-05/1.097, allocations: 4 kB / 1.174 GB, free: 12.64 MB / 0.9044 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.001812/1.099, allocations: 0.9333 MB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.099, allocations: 8.922 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/1.099, allocations: 68.52 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000705/1.1, allocations: 0.4897 MB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/1.1, allocations: 12.75 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/1.1, allocations: 27.94 kB / 1.176 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/1.1, allocations: 220.3 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.1, allocations: 0 / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/1.1, allocations: 15.98 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.1, allocations: 11.94 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/1.101, allocations: 159.3 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/1.102, allocations: 0.8512 MB / 1.177 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/1.103, allocations: 302.5 kB / 1.177 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/1.103, allocations: 84.81 kB / 1.177 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/1.103, allocations: 7.984 kB / 1.177 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003565/1.104, allocations: 167.2 kB / 1.178 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/1.104, allocations: 7.938 kB / 1.178 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0007614/1.104, allocations: 325 kB / 1.178 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/1.104, allocations: 85.05 kB / 1.178 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007443/1.105, allocations: 0.7113 MB / 1.179 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/1.105, allocations: 37.7 kB / 1.179 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/1.105, allocations: 296.4 kB / 1.179 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/1.105, allocations: 47.64 kB / 1.179 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/1.106, allocations: 69.64 kB / 1.179 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.106, allocations: 378.8 kB / 1.179 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/1.106, allocations: 128.7 kB / 1.18 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/1.106, allocations: 186.8 kB / 1.18 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/1.107, allocations: 214.4 kB / 1.18 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.107, allocations: 0 / 1.18 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006827/1.108, allocations: 377 kB / 1.18 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/1.108, allocations: 4 kB / 1.18 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.108, allocations: 64 / 1.18 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.108, allocations: 11.94 kB / 1.18 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/1.108, allocations: 59.89 kB / 1.18 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.108, allocations: 4 kB / 1.18 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/1.108, allocations: 39.86 kB / 1.18 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/1.108, allocations: 4 kB / 1.18 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003614/1.109, allocations: 284 kB / 1.181 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002437/1.109, allocations: 172.4 kB / 1.181 GB, free: 5.617 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003236/1.109, allocations: 186.4 kB / 1.181 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/1.109, allocations: 0 / 1.181 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005412/1.11, allocations: 345.3 kB / 1.181 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/1.11, allocations: 8 kB / 1.181 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/1.11, allocations: 0 / 1.181 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-06/1.11, allocations: 0 / 1.181 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/1.11, allocations: 59.83 kB / 1.181 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.11, allocations: 4 kB / 1.181 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/1.11, allocations: 47.92 kB / 1.182 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/1.11, allocations: 8 kB / 1.182 GB, free: 4.957 MB / 0.9044 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.0001365/1.11, allocations: 206.4 kB / 1.182 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/1.11, allocations: 59.58 kB / 1.182 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/1.111, allocations: 69.66 kB / 1.182 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.111, allocations: 3.938 kB / 1.182 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.111, allocations: 4 kB / 1.182 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/1.111, allocations: 132.7 kB / 1.182 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/1.111, allocations: 8 kB / 1.182 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/1.111, allocations: 24.09 kB / 1.182 GB, free: 4.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/1.111, allocations: 27.97 kB / 1.182 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008053/1.112, allocations: 351.3 kB / 1.182 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008194/1.113, allocations: 0.5333 MB / 1.183 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002219/1.113, allocations: 87.97 kB / 1.183 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005208/1.113, allocations: 475 kB / 1.183 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of Backend: time 7.31e-07/1.113, allocations: 0 / 1.183 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00191/1.115, allocations: 0.7164 MB / 1.184 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001666/1.117, allocations: 1.456 MB / 1.186 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of Templates: time 0.01225/1.129, allocations: 6.201 MB / 1.192 GB, free: 10.73 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches