Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.001175/0.001175, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.001444/0.001444, allocations: 177.9 kB / 23.22 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.954/0.954, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.843/1.843, allocations: 389 MB / 0.6338 GB, free: 12.66 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.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.569e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.6497/0.6498, allocations: 150.4 MB / 1.148 GB, free: 5.918 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004941/0.6547, allocations: 5.48 MB / 1.153 GB, free: 2.227 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002567/0.655, allocations: 10.5 kB / 1.153 GB, free: 2.223 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.6555, allocations: 194.8 kB / 1.153 GB, free: 2.098 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.6558, allocations: 95.5 kB / 1.153 GB, free: 2.035 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.6569, allocations: 0.528 MB / 1.154 GB, free: 1.773 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.6574, allocations: 427 kB / 1.154 GB, free: 1.578 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.6576, allocations: 95.97 kB / 1.154 GB, free: 1.523 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003592/0.658, allocations: 251 kB / 1.155 GB, free: 1.418 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.6582, allocations: 130.4 kB / 1.155 GB, free: 1.379 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.6582, allocations: 16.75 kB / 1.155 GB, free: 1.379 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005652/0.6587, allocations: 384.5 kB / 1.155 GB, free: 1.23 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 9.883e-05/0.6588, allocations: 68.88 kB / 1.155 GB, free: 1.199 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 7.526e-05/0.6589, allocations: 70.95 kB / 1.155 GB, free: 1.168 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0005917/0.6595, allocations: 472.8 kB / 1.156 GB, free: 1.012 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6595, allocations: 2.156 kB / 1.156 GB, free: 1.012 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6595, allocations: 0 / 1.156 GB, free: 1.012 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.6595, allocations: 1.406 kB / 1.156 GB, free: 1.012 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005337/0.6601, allocations: 457.5 kB / 1.156 GB, free: 0.6289 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.6601, allocations: 10.66 kB / 1.156 GB, free: 0.6289 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.6603, allocations: 43.7 kB / 1.156 GB, free: 0.6172 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.6607, allocations: 215.3 kB / 1.156 GB, free: 448 kB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.6608, allocations: 239.2 kB / 1.157 GB, free: 180 kB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.6609, allocations: 18.94 kB / 1.157 GB, free: 176 kB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.6613, allocations: 293.4 kB / 1.157 GB, free: 15.98 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.6613, allocations: 1.219 kB / 1.157 GB, free: 15.98 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.6613, allocations: 7.219 kB / 1.157 GB, free: 15.98 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.6613, allocations: 9.375 kB / 1.157 GB, free: 15.98 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.6617, allocations: 164.8 kB / 1.157 GB, free: 15.92 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009973/0.6627, allocations: 1.445 MB / 1.159 GB, free: 14.59 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.6627, allocations: 166.9 kB / 1.159 GB, free: 14.42 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.6628, allocations: 85.69 kB / 1.159 GB, free: 14.34 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.6628, allocations: 76.47 kB / 1.159 GB, free: 14.26 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.6628, allocations: 107.8 kB / 1.159 GB, free: 14.15 MB / 1.026 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.6628, allocations: 0 / 1.159 GB, free: 14.15 MB / 1.026 GB Notification: Performance of matching and sorting (n=0): time 7.252e-05/0.6629, allocations: 40.08 kB / 1.159 GB, free: 14.11 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.663, allocations: 127.9 kB / 1.159 GB, free: 13.97 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.6632, allocations: 234.3 kB / 1.159 GB, free: 13.82 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 8.547e-06/0.6632, allocations: 32.61 kB / 1.159 GB, free: 13.79 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.6633, allocations: 209.5 kB / 1.16 GB, free: 13.61 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/0.6633, allocations: 2.141 kB / 1.16 GB, free: 13.61 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.6634, allocations: 50.98 kB / 1.16 GB, free: 13.57 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.6635, allocations: 322.5 kB / 1.16 GB, free: 13.25 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.148e-05/0.6635, allocations: 35.16 kB / 1.16 GB, free: 13.25 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.6637, allocations: 167.4 kB / 1.16 GB, free: 13.07 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.6638, allocations: 197.3 kB / 1.16 GB, free: 12.86 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6638, allocations: 4.656 kB / 1.16 GB, free: 12.86 MB / 1.026 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000335/0.6642, allocations: 212.4 kB / 1.161 GB, free: 12.76 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6642, allocations: 6.969 kB / 1.161 GB, free: 12.76 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.6642, allocations: 6.141 kB / 1.161 GB, free: 12.76 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6642, allocations: 5.469 kB / 1.161 GB, free: 12.76 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.6643, allocations: 38.14 kB / 1.161 GB, free: 12.76 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.6644, allocations: 6.391 kB / 1.161 GB, free: 12.76 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.29e-05/0.6645, allocations: 32.91 kB / 1.161 GB, free: 12.73 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.6645, allocations: 11.16 kB / 1.161 GB, free: 12.73 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001105/0.6646, allocations: 218.8 kB / 1.161 GB, free: 12.53 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.6646, allocations: 118.8 kB / 1.161 GB, free: 12.41 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.6647, allocations: 117.9 kB / 1.161 GB, free: 12.3 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-05/0.6647, allocations: 178.3 kB / 1.161 GB, free: 12.12 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.851e-05/0.6648, allocations: 182.1 kB / 1.161 GB, free: 11.93 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-05/0.6648, allocations: 187 kB / 1.162 GB, free: 11.75 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.665, allocations: 412.9 kB / 1.162 GB, free: 11.35 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-05/0.6651, allocations: 102.8 kB / 1.162 GB, free: 11.24 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.6651, allocations: 110.8 kB / 1.162 GB, free: 11.13 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.292e-05/0.6651, allocations: 182 kB / 1.162 GB, free: 10.95 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.6652, allocations: 183.1 kB / 1.163 GB, free: 10.76 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.753e-05/0.6652, allocations: 182.1 kB / 1.163 GB, free: 10.58 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.567e-05/0.6653, allocations: 178.3 kB / 1.163 GB, free: 10.4 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.6654, allocations: 319.4 kB / 1.163 GB, free: 10.07 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.6654, allocations: 122.2 kB / 1.163 GB, free: 9.957 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.6655, allocations: 186.6 kB / 1.164 GB, free: 9.77 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.6656, allocations: 103.9 kB / 1.164 GB, free: 9.664 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.6656, allocations: 181.9 kB / 1.164 GB, free: 9.48 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.6656, allocations: 102.7 kB / 1.164 GB, free: 9.375 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001351/0.6658, allocations: 160.2 kB / 1.164 GB, free: 9.277 MB / 1.026 GB Notification: Performance of sort global known variables: time 5e-08/0.6658, allocations: 3.938 kB / 1.164 GB, free: 9.273 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0002889/0.6661, allocations: 71.97 kB / 1.164 GB, free: 9.246 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002457/0.6663, allocations: 199 kB / 1.164 GB, free: 9.078 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0001658/0.6665, allocations: 83 kB / 1.164 GB, free: 9.047 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6665, allocations: 1.594 kB / 1.164 GB, free: 9.047 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.6665, allocations: 0.7969 kB / 1.164 GB, free: 9.047 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.6668, allocations: 464.1 kB / 1.165 GB, free: 8.594 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.6673, allocations: 408.6 kB / 1.165 GB, free: 8.273 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.6676, allocations: 130.8 kB / 1.165 GB, free: 8.191 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.6677, allocations: 17.52 kB / 1.165 GB, free: 8.184 MB / 1.026 GB Notification: Performance of SimCode: time 1.282e-06/0.6677, allocations: 0 / 1.165 GB, free: 8.184 MB / 1.026 GB Notification: Performance of Templates: time 0.005924/0.6736, allocations: 2.57 MB / 1.168 GB, free: 7.895 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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: 7.7817952409386635]