Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.AirFilters.Validation.Empirical.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.0008652/0.0008652, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001178/0.001178, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.906/0.906, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.794/1.794, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.AirFilters.Validation.Empirical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubParIn.C|senTraSubParOut.C|senTraSubVOCIn.C|senTraSubVOCOut.C|airFil.eps.1.|airFil.eps.2.|airFil.masAcc.mCon|airFil.masAcc.mCon_max",fileNamePrefix="Buildings_latest_Buildings.Fluid.AirFilters.Validation.Empirical") translateModel(Buildings.Fluid.AirFilters.Validation.Empirical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubParIn.C|senTraSubParOut.C|senTraSubVOCIn.C|senTraSubVOCOut.C|airFil.eps.1.|airFil.eps.2.|airFil.masAcc.mCon|airFil.masAcc.mCon_max",fileNamePrefix="Buildings_latest_Buildings.Fluid.AirFilters.Validation.Empirical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.824e-05, allocations: 5.234 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.Validation.Empirical): time 0.6048/0.6048, allocations: 164.8 MB / 1.162 GB, free: 12.34 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.6196, allocations: 12.99 MB / 1.174 GB, free: 3.648 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.6208, allocations: 38.5 kB / 1.174 GB, free: 3.629 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.6225, allocations: 486.1 kB / 1.175 GB, free: 3.344 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.6249, allocations: 1.019 MB / 1.176 GB, free: 2.758 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.6277, allocations: 1.022 MB / 1.177 GB, free: 2.27 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002823/0.6305, allocations: 1.908 MB / 1.179 GB, free: 1.375 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.6316, allocations: 0.683 MB / 1.179 GB, free: 1.035 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005755/0.6373, allocations: 2.532 MB / 1.182 GB, free: 15.89 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008779/0.6382, allocations: 0.568 MB / 1.183 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.6383, allocations: 97.78 kB / 1.183 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.6401, allocations: 0.8103 MB / 1.183 GB, free: 15.47 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004537/0.6406, allocations: 0.4887 MB / 1.184 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004124/0.641, allocations: 406 kB / 1.184 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.6432, allocations: 1.946 MB / 1.186 GB, free: 14.38 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.6432, allocations: 0 / 1.186 GB, free: 14.38 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.376e-06/0.6432, allocations: 4 kB / 1.186 GB, free: 14.38 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.6432, allocations: 1.375 kB / 1.186 GB, free: 14.38 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.001827/0.645, allocations: 1.492 MB / 1.188 GB, free: 13.4 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.6451, allocations: 12.59 kB / 1.188 GB, free: 13.4 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003947/0.649, allocations: 0.6925 MB / 1.188 GB, free: 13.29 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.6503, allocations: 1.037 MB / 1.189 GB, free: 12.74 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/0.6504, allocations: 57.41 kB / 1.189 GB, free: 12.71 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.6505, allocations: 75.28 kB / 1.189 GB, free: 12.69 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003649/0.6542, allocations: 2.701 MB / 1.192 GB, free: 11.96 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.6542, allocations: 0.9688 kB / 1.192 GB, free: 11.96 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.951e-05/0.6543, allocations: 36.84 kB / 1.192 GB, free: 11.93 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/0.6543, allocations: 24.19 kB / 1.192 GB, free: 11.93 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005648/0.66, allocations: 3.945 MB / 1.196 GB, free: 11.04 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006849/0.6668, allocations: 6.49 MB / 1.202 GB, free: 7.723 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006145/0.673, allocations: 4.535 MB / 1.207 GB, free: 6.035 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002327/0.6753, allocations: 1.84 MB / 1.209 GB, free: 5.344 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/0.6756, allocations: 81.78 kB / 1.209 GB, free: 5.312 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002469/0.678, allocations: 2.07 MB / 1.211 GB, free: 4.406 MB / 1.042 GB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.678, allocations: 4 kB / 1.211 GB, free: 4.402 MB / 1.042 GB Notification: Performance of matching and sorting (n=43): time 0.007224/0.6853, allocations: 4.961 MB / 1.216 GB, free: 15.98 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.6853, allocations: 144.3 kB / 1.216 GB, free: 15.81 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007613/0.6861, allocations: 0.817 MB / 1.216 GB, free: 14.98 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 8.204e-05/0.6862, allocations: 37.7 kB / 1.216 GB, free: 14.94 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.6864, allocations: 472.4 kB / 1.217 GB, free: 14.47 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.6866, allocations: 162.6 kB / 1.217 GB, free: 14.31 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.6868, allocations: 213.9 kB / 1.217 GB, free: 14.1 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.6869, allocations: 318 kB / 1.218 GB, free: 13.78 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/0.6893, allocations: 1.812 MB / 1.219 GB, free: 11.97 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/0.6918, allocations: 2.159 MB / 1.221 GB, free: 9.715 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003748/0.6955, allocations: 2.286 MB / 1.224 GB, free: 7.402 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6955, allocations: 0 / 1.224 GB, free: 7.402 MB / 1.057 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.004713/0.7003, allocations: 3.213 MB / 1.227 GB, free: 4.18 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.7003, allocations: 4.781 kB / 1.227 GB, free: 4.176 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.7003, allocations: 8.859 kB / 1.227 GB, free: 4.168 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.7003, allocations: 4 kB / 1.227 GB, free: 4.164 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009884/0.7013, allocations: 287.5 kB / 1.227 GB, free: 3.883 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.7013, allocations: 7.938 kB / 1.227 GB, free: 3.875 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009556/0.7023, allocations: 155.6 kB / 1.227 GB, free: 3.723 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.582e-05/0.7024, allocations: 67.89 kB / 1.227 GB, free: 3.656 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (airFil.masAcc.notFul.greHys.y,$PRE.airFil.masAcc.notFul.greHys.y,airFil.masAcc.edg.u,$PRE.airFil.masAcc.edg.u,airFil.masAcc.edg.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 53 * 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.000544/0.7029, allocations: 330.9 kB / 1.228 GB, free: 3.328 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.703, allocations: 79.48 kB / 1.228 GB, free: 3.25 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005112/0.7082, allocations: 3.5 MB / 1.231 GB, free: 15.75 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.7082, allocations: 4 kB / 1.231 GB, free: 15.75 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.7082, allocations: 4.406 kB / 1.231 GB, free: 15.74 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.7082, allocations: 7.984 kB / 1.231 GB, free: 15.73 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007305/0.7155, allocations: 6.25 MB / 1.237 GB, free: 9.418 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.7155, allocations: 4 kB / 1.237 GB, free: 9.414 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009635/0.7165, allocations: 275.8 kB / 1.238 GB, free: 9.145 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.7165, allocations: 7.984 kB / 1.238 GB, free: 9.137 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-05/0.7165, allocations: 63.89 kB / 1.238 GB, free: 9.074 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.7165, allocations: 4 kB / 1.238 GB, free: 9.07 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.7165, allocations: 3.938 kB / 1.238 GB, free: 9.066 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007564/0.7241, allocations: 6.019 MB / 1.244 GB, free: 3.004 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004974/0.7246, allocations: 443 kB / 1.244 GB, free: 2.57 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.7247, allocations: 15.98 kB / 1.244 GB, free: 2.555 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008475/0.7256, allocations: 119.8 kB / 1.244 GB, free: 2.438 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/0.7256, allocations: 43.86 kB / 1.244 GB, free: 2.395 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.17e-05/0.7257, allocations: 63.89 kB / 1.244 GB, free: 2.332 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.000532/0.7262, allocations: 0.5732 MB / 1.245 GB, free: 1.762 MB / 1.073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7262, allocations: 0 / 1.245 GB, free: 1.762 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.001007/0.7273, allocations: 391.2 kB / 1.245 GB, free: 1.379 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (airFil.res.mExc,senTraSubVOCOut.C,senTraSubParOut.C,senTraSubVOCIn.C,senTraSubParIn.C,airFil.masAcc.intWitRes.y) * Number of discrete variables: 4 (airFil.masAcc.edg.y,$whenCondition1,airFil.masAcc.edg.u,airFil.masAcc.notFul.greHys.y) * Number of discrete states: 2 (airFil.masAcc.notFul.greHys.y,airFil.masAcc.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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 Backend phase and start with SimCode phase: time 0.0005363/0.7278, allocations: 266.8 kB / 1.245 GB, free: 1.125 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.004971/0.7328, allocations: 3.744 MB / 1.249 GB, free: 13.38 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7328, allocations: 0 / 1.249 GB, free: 13.38 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/0.7352, allocations: 1.894 MB / 1.251 GB, free: 11.48 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.7362, allocations: 395.5 kB / 1.251 GB, free: 11.11 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.7491, allocations: 4.766 MB / 1.256 GB, free: 6.273 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.7496, allocations: 0.4921 MB / 1.256 GB, free: 5.75 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006799/0.7502, allocations: 216.2 kB / 1.257 GB, free: 5.539 MB / 1.089 GB Notification: Performance of SimCode: time 1.352e-06/0.7502, allocations: 0 / 1.257 GB, free: 5.539 MB / 1.089 GB Notification: Performance of Templates: time 0.02314/0.7734, allocations: 27.68 MB / 1.284 GB, free: 9.961 MB / 1.12 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.AirFilters.Validation.Empirical.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.AirFilters.Validation.Empirical.pipe ; mkfifo Buildings_latest_Buildings.Fluid.AirFilters.Validation.Empirical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.AirFilters.Validation.Empirical.pipe >> ../files/Buildings_latest_Buildings.Fluid.AirFilters.Validation.Empirical.sim & ./Buildings_latest_Buildings.Fluid.AirFilters.Validation.Empirical -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.AirFilters.Validation.Empirical.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.AirFilters.Validation.Empirical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_AirFilters_Validation_Empirical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.AirFilters.Validation.Empirical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,senTraSubParIn.C,senTraSubParOut.C,senTraSubVOCIn.C,senTraSubVOCOut.C,airFil.eps[1],airFil.eps[2],airFil.masAcc.mCon,airFil.masAcc.mCon_max Variables in the result:airFil.eps[1],airFil.eps[2],airFil.masAcc.mCon,airFil.masAcc.mCon_max,senTraSubParIn.C,senTraSubParOut.C,senTraSubVOCIn.C,senTraSubVOCOut.C,time [Calling sys.exit(0), Time elapsed: 86.48867176566273]