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.001614/0.001614, allocations: 112.4 kB / 16.42 MB, free: 6.496 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.002705/0.002705, allocations: 193.6 kB / 17.35 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.21 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.567/2.567, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001864, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.08, allocations: 151.6 MB / 1.167 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.005379/1.086, allocations: 2.686 MB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003145/1.089, allocations: 1.67 MB / 1.172 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004215/1.089, allocations: 11.94 kB / 1.172 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000946/1.09, allocations: 226.6 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007233/1.091, allocations: 175.1 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007114/1.092, allocations: 252.7 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007036/1.093, allocations: 486.5 kB / 1.173 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000325/1.093, allocations: 151.9 kB / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/1.093, allocations: 191.2 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/1.094, allocations: 199 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/1.094, allocations: 43.94 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/1.094, allocations: 83.95 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001969/1.094, allocations: 151.5 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003107/1.095, allocations: 242.3 kB / 1.174 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008521/1.096, allocations: 0.6714 MB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.096, allocations: 0 / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.793e-06/1.096, allocations: 0 / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.106e-05/1.096, allocations: 0 / 1.174 GB, free: 12.81 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.001803/1.097, allocations: 0.9025 MB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.097, allocations: 12.92 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/1.098, allocations: 68.09 kB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007586/1.098, allocations: 492.8 kB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/1.098, allocations: 16.75 kB / 1.176 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/1.099, allocations: 27.94 kB / 1.176 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/1.099, allocations: 224.3 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/1.099, allocations: 0 / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/1.099, allocations: 4 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/1.099, allocations: 4 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/1.099, allocations: 167.3 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/1.101, allocations: 0.8549 MB / 1.177 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009779/1.102, allocations: 302.4 kB / 1.177 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/1.102, allocations: 82.78 kB / 1.177 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/1.102, allocations: 8 kB / 1.177 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003572/1.103, allocations: 173 kB / 1.178 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/1.103, allocations: 3.938 kB / 1.178 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.000787/1.103, allocations: 320.2 kB / 1.178 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/1.103, allocations: 89.09 kB / 1.178 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008401/1.104, allocations: 0.7073 MB / 1.179 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/1.104, allocations: 37.69 kB / 1.179 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/1.105, allocations: 296.3 kB / 1.179 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/1.105, allocations: 43.36 kB / 1.179 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/1.105, allocations: 69.59 kB / 1.179 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.105, allocations: 374.8 kB / 1.179 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/1.105, allocations: 140.7 kB / 1.18 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/1.106, allocations: 182.8 kB / 1.18 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/1.106, allocations: 202.5 kB / 1.18 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.106, allocations: 0 / 1.18 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006767/1.107, allocations: 376.7 kB / 1.18 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.107, allocations: 4 kB / 1.18 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.107, allocations: 7.938 kB / 1.18 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.107, allocations: 3.938 kB / 1.18 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/1.107, allocations: 55.95 kB / 1.18 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/1.107, allocations: 0 / 1.18 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/1.107, allocations: 43.75 kB / 1.18 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/1.107, allocations: 20.02 kB / 1.18 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003692/1.108, allocations: 276 kB / 1.181 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000253/1.108, allocations: 168.4 kB / 1.181 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003467/1.108, allocations: 190.5 kB / 1.181 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/1.108, allocations: 0 / 1.181 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005652/1.109, allocations: 341 kB / 1.181 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/1.109, allocations: 4 kB / 1.181 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/1.109, allocations: 0 / 1.181 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/1.109, allocations: 4.062 kB / 1.181 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/1.109, allocations: 55.91 kB / 1.181 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/1.109, allocations: 7.938 kB / 1.181 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/1.109, allocations: 43.92 kB / 1.181 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/1.109, allocations: 16 kB / 1.181 GB, free: 5.176 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.0001288/1.11, allocations: 188.3 kB / 1.182 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.432e-05/1.11, allocations: 67.19 kB / 1.182 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/1.11, allocations: 65.66 kB / 1.182 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/1.11, allocations: 11.91 kB / 1.182 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.11, allocations: 0 / 1.182 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/1.11, allocations: 136.3 kB / 1.182 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/1.11, allocations: 11.98 kB / 1.182 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/1.11, allocations: 19.98 kB / 1.182 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/1.11, allocations: 27.95 kB / 1.182 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000814/1.111, allocations: 352.6 kB / 1.182 GB, free: 4.273 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008465/1.112, allocations: 0.5174 MB / 1.183 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002166/1.112, allocations: 95.91 kB / 1.183 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005093/1.113, allocations: 479 kB / 1.183 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of Backend: time 5.61e-07/1.113, allocations: 4.062 kB / 1.183 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001965/1.115, allocations: 0.7099 MB / 1.184 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001861/1.117, allocations: 1.424 MB / 1.185 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of Templates: time 0.01401/1.131, allocations: 6.215 MB / 1.192 GB, free: 10.99 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