Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002824/0.002824, allocations: 204.8 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.625/1.625, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.521/3.521, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002994/0.002994, allocations: 67.77 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.5302, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.005329/0.5355, allocations: 2.585 MB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003351/0.5388, allocations: 1.724 MB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.539, allocations: 11.88 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007704/0.5398, allocations: 226.8 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005784/0.5404, allocations: 222.9 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.5409, allocations: 227.5 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006264/0.5415, allocations: 0.4907 MB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.5418, allocations: 96.34 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.542, allocations: 199.2 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.5423, allocations: 207 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.024e-05/0.5424, allocations: 40 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.5426, allocations: 79.97 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.5428, allocations: 155.4 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.543, allocations: 186.8 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008971/0.5439, allocations: 0.6923 MB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5439, allocations: 0 / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5439, allocations: 0 / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.5439, allocations: 0 / 1.334 GB, free: 9.906 MB / 1.029 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.001707/0.5456, allocations: 0.8553 MB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.5457, allocations: 12.03 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.5458, allocations: 72.47 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007608/0.5466, allocations: 439.5 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.5466, allocations: 20.75 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.5467, allocations: 23.94 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.5472, allocations: 297.4 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5472, allocations: 0 / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.5472, allocations: 11.94 kB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.5472, allocations: 8 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.5477, allocations: 171.3 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.549, allocations: 0.6949 MB / 1.337 GB, free: 7.203 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009114/0.5499, allocations: 278.5 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.5501, allocations: 88.8 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.5502, allocations: 4 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00043/0.5506, allocations: 246 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.5506, allocations: 0 / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0008184/0.5514, allocations: 327 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.5515, allocations: 81.11 kB / 1.338 GB, free: 6.129 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008793/0.5524, allocations: 0.7073 MB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.5524, allocations: 33.7 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.5527, allocations: 308.3 kB / 1.339 GB, free: 5.062 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.855e-05/0.5527, allocations: 51.58 kB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.5529, allocations: 65.69 kB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00022/0.5531, allocations: 378.7 kB / 1.339 GB, free: 4.562 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.5534, allocations: 128.8 kB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.5538, allocations: 319.8 kB / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.5542, allocations: 208.1 kB / 1.34 GB, free: 3.855 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5542, allocations: 0 / 1.34 GB, free: 3.855 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006924/0.5549, allocations: 377 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.5549, allocations: 8 kB / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5549, allocations: 0 / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.5549, allocations: 0 / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.5552, allocations: 55.91 kB / 1.34 GB, free: 3.418 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.5552, allocations: 7.938 kB / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.5554, allocations: 51.86 kB / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.5555, allocations: 8 kB / 1.34 GB, free: 3.352 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004267/0.5559, allocations: 280 kB / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003431/0.5562, allocations: 295.3 kB / 1.341 GB, free: 2.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003525/0.5566, allocations: 186.7 kB / 1.341 GB, free: 2.539 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.5566, allocations: 0 / 1.341 GB, free: 2.539 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0006192/0.5572, allocations: 345.1 kB / 1.341 GB, free: 2.195 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.5572, allocations: 4 kB / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.5572, allocations: 0 / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/0.5572, allocations: 4 kB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.5574, allocations: 51.91 kB / 1.341 GB, free: 2.137 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.5574, allocations: 7.938 kB / 1.341 GB, free: 2.129 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.5577, allocations: 51.98 kB / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.5577, allocations: 15.98 kB / 1.341 GB, free: 2.062 MB / 1.029 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.0001701/0.5579, allocations: 192.2 kB / 1.342 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/0.5579, allocations: 59.62 kB / 1.342 GB, free: 1.809 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00062/0.5586, allocations: 261 kB / 1.342 GB, free: 1.539 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.5586, allocations: 7.938 kB / 1.342 GB, free: 1.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5586, allocations: 4 kB / 1.342 GB, free: 1.527 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.5587, allocations: 63.5 kB / 1.342 GB, free: 1.465 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.5588, allocations: 8 kB / 1.342 GB, free: 1.457 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.5589, allocations: 23.97 kB / 1.342 GB, free: 1.434 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.559, allocations: 27.95 kB / 1.342 GB, free: 1.406 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008089/0.5598, allocations: 356.5 kB / 1.342 GB, free: 1.051 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008692/0.5607, allocations: 0.5314 MB / 1.343 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000221/0.5609, allocations: 91.95 kB / 1.343 GB, free: 424 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005958/0.5615, allocations: 471.1 kB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of Backend: time 7.41e-07/0.5615, allocations: 0 / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002747/0.5643, allocations: 0.7259 MB / 1.344 GB, free: 15.42 MB / 1.045 GB Notification: Performance of SimCode: time 0.002104/0.5664, allocations: 1.456 MB / 1.345 GB, free: 13.92 MB / 1.045 GB Notification: Performance of Templates: time 0.01587/0.5822, allocations: 7.072 MB / 1.352 GB, free: 6.938 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.624153418000787]