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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.354/2.354, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 183.9 kB / 0.4902 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 223.1 MB / 0.7992 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009913/0.0009913, allocations: 92.72 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005172, allocations: 10 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.304, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.21/0.5141, allocations: 158.3 MB / 1.384 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/0.5144, allocations: 99.94 kB / 1.384 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03602/0.5505, allocations: 14.26 MB / 1.398 GB, free: 8.457 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.125e-06/0.5505, allocations: 0 / 1.398 GB, free: 8.457 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.067e-05/0.5506, allocations: 11.94 kB / 1.398 GB, free: 8.445 MB / 0.9011 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.001353/0.5519, allocations: 0.8643 MB / 1.399 GB, free: 7.527 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.552, allocations: 8.562 kB / 1.399 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.5521, allocations: 71.16 kB / 1.399 GB, free: 7.449 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007948/0.5529, allocations: 487.8 kB / 1.399 GB, free: 6.934 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.5529, allocations: 16.38 kB / 1.399 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.553, allocations: 20 kB / 1.399 GB, free: 6.898 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.5535, allocations: 237 kB / 1.399 GB, free: 6.66 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5535, allocations: 0 / 1.399 GB, free: 6.66 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.5535, allocations: 4 kB / 1.399 GB, free: 6.656 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.5535, allocations: 4 kB / 1.399 GB, free: 6.652 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.5539, allocations: 191.3 kB / 1.4 GB, free: 6.469 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.5554, allocations: 0.8822 MB / 1.401 GB, free: 5.535 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/0.556, allocations: 259.5 kB / 1.401 GB, free: 5.273 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.556, allocations: 7.938 kB / 1.401 GB, free: 5.266 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003724/0.5564, allocations: 177 kB / 1.401 GB, free: 5.074 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.5564, allocations: 4 kB / 1.401 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of matching and sorting (n=16): time 0.0007823/0.5572, allocations: 350.7 kB / 1.401 GB, free: 4.723 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.5573, allocations: 81.11 kB / 1.401 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007447/0.558, allocations: 0.64 MB / 1.402 GB, free: 3.977 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.5581, allocations: 37.69 kB / 1.402 GB, free: 3.934 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.5583, allocations: 288.4 kB / 1.402 GB, free: 3.648 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.5583, allocations: 51.34 kB / 1.402 GB, free: 3.598 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/0.5584, allocations: 4 kB / 1.402 GB, free: 3.594 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5585, allocations: 378.7 kB / 1.403 GB, free: 3.215 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.5588, allocations: 143.9 kB / 1.403 GB, free: 3.074 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.5591, allocations: 184.9 kB / 1.403 GB, free: 2.879 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.5594, allocations: 131.5 kB / 1.403 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5594, allocations: 0 / 1.403 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006716/0.5601, allocations: 398.8 kB / 1.404 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.302e-05/0.5602, allocations: 188.1 kB / 1.404 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5602, allocations: 0 / 1.404 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.5602, allocations: 0 / 1.404 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.5605, allocations: 59.89 kB / 1.404 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.5605, allocations: 7.953 kB / 1.404 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.5608, allocations: 55.75 kB / 1.404 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.5608, allocations: 12 kB / 1.404 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/0.5609, allocations: 4 kB / 1.404 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005294/0.5614, allocations: 288 kB / 1.404 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.5614, allocations: 0 / 1.404 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.5614, allocations: 4 kB / 1.404 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.5616, allocations: 43.97 kB / 1.404 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.5617, allocations: 7.938 kB / 1.404 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.5619, allocations: 47.84 kB / 1.404 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.5619, allocations: 12 kB / 1.404 GB, free: 1.633 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,$PRE.filPow.assPow.maxPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003048/0.5622, allocations: 297.8 kB / 1.405 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/0.5623, allocations: 59.25 kB / 1.405 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005905/0.5629, allocations: 292.2 kB / 1.405 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.5629, allocations: 4 kB / 1.405 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5629, allocations: 4 kB / 1.405 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5629, allocations: 0 / 1.405 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.5634, allocations: 449.3 kB / 1.405 GB, free: 492 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5634, allocations: 0 / 1.405 GB, free: 492 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.5635, allocations: 35.97 kB / 1.405 GB, free: 456 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5635, allocations: 0 / 1.405 GB, free: 456 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.5636, allocations: 4 kB / 1.405 GB, free: 452 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.5636, allocations: 3.938 kB / 1.405 GB, free: 448 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5636, allocations: 0 / 1.405 GB, free: 448 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00078/0.5644, allocations: 425.9 kB / 1.406 GB, free: 4 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6156/1.18, allocations: 132 kB / 1.406 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/1.18, allocations: 7.547 kB / 1.406 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/1.18, allocations: 36.41 kB / 1.406 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/1.181, allocations: 27.11 kB / 1.406 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/1.181, allocations: 7.641 kB / 1.406 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008141/1.181, allocations: 482 kB / 1.406 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.5e-07/1.181, allocations: 0 / 1.406 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000782/1.182, allocations: 152.1 kB / 1.407 GB, free: 166.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (filPow.assPow.demRat.x,filPow.dPLim.y) * Number of discrete variables: 7 ($whenCondition1,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,filPow.assPow.maxPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001125/1.183, allocations: 477.8 kB / 1.407 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009782/1.184, allocations: 403 kB / 1.407 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.184, allocations: 3.812 kB / 1.407 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/1.185, allocations: 106.2 kB / 1.407 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/1.185, allocations: 79.36 kB / 1.408 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/1.187, allocations: 1.114 MB / 1.409 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/1.188, allocations: 0.9013 MB / 1.41 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002854/1.188, allocations: 67.39 kB / 1.41 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/1.188, allocations: 31.98 kB / 1.41 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of SimCode: time 4.31e-07/1.188, allocations: 0 / 1.41 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.013/1.201, allocations: 5.056 MB / 1.415 GB, free: 165.1 MB / 0.9011 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","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches