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.001469/0.001469, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001791/0.001791, allocations: 224.4 kB / 23 MB, free: 4.914 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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 3.418/3.418, allocations: 0.5107 GB / 0.8166 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.003379/0.003379, allocations: 71.7 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4446, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.201/0.6457, allocations: 150.5 MB / 1.512 GB, free: 6.512 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006913/0.6526, allocations: 5.523 MB / 1.517 GB, free: 0.9727 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.6529, allocations: 11.94 kB / 1.517 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006532/0.6535, allocations: 190.7 kB / 1.517 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.6538, allocations: 95.42 kB / 1.517 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.6552, allocations: 0.5217 MB / 1.518 GB, free: 160 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.6557, allocations: 414.5 kB / 1.518 GB, free: 15.75 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.6559, allocations: 92.19 kB / 1.518 GB, free: 15.65 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003327/0.6563, allocations: 199.3 kB / 1.518 GB, free: 15.46 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.6565, allocations: 143.4 kB / 1.519 GB, free: 15.32 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.6565, allocations: 16 kB / 1.519 GB, free: 15.3 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006891/0.6572, allocations: 378.9 kB / 1.519 GB, free: 14.93 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.6573, allocations: 71.75 kB / 1.519 GB, free: 14.86 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 9.56e-05/0.6574, allocations: 87.59 kB / 1.519 GB, free: 14.77 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.6581, allocations: 450.3 kB / 1.52 GB, free: 14.33 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6581, allocations: 0 / 1.52 GB, free: 14.33 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6581, allocations: 0 / 1.52 GB, free: 14.33 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.6581, allocations: 4 kB / 1.52 GB, free: 14.33 MB / 1.217 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.0006472/0.6587, allocations: 465.2 kB / 1.52 GB, free: 13.84 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.6588, allocations: 12.03 kB / 1.52 GB, free: 13.83 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.659, allocations: 43.84 kB / 1.52 GB, free: 13.79 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.6595, allocations: 208.7 kB / 1.52 GB, free: 13.56 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.6597, allocations: 238.1 kB / 1.52 GB, free: 13.28 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.6597, allocations: 24 kB / 1.521 GB, free: 13.25 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/0.6602, allocations: 293.9 kB / 1.521 GB, free: 12.93 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.6602, allocations: 0 / 1.521 GB, free: 12.93 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.6602, allocations: 16 kB / 1.521 GB, free: 12.91 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.6602, allocations: 4 kB / 1.521 GB, free: 12.91 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.6605, allocations: 160.6 kB / 1.521 GB, free: 12.75 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.6619, allocations: 1.448 MB / 1.522 GB, free: 11.24 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.662, allocations: 173.1 kB / 1.523 GB, free: 11.06 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.6621, allocations: 84.17 kB / 1.523 GB, free: 10.97 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.6621, allocations: 75.28 kB / 1.523 GB, free: 10.9 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.6622, allocations: 105.8 kB / 1.523 GB, free: 10.79 MB / 1.217 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.6622, allocations: 0 / 1.523 GB, free: 10.79 MB / 1.217 GB Notification: Performance of matching and sorting (n=0): time 9.013e-05/0.6623, allocations: 49.53 kB / 1.523 GB, free: 10.73 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.6623, allocations: 126.7 kB / 1.523 GB, free: 10.59 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.6626, allocations: 238.4 kB / 1.523 GB, free: 10.35 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.6627, allocations: 25.7 kB / 1.523 GB, free: 10.32 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.6628, allocations: 203.6 kB / 1.523 GB, free: 10.11 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-06/0.6628, allocations: 0 / 1.523 GB, free: 10.11 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.6629, allocations: 53.59 kB / 1.523 GB, free: 10.05 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.663, allocations: 322.8 kB / 1.524 GB, free: 9.73 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.85e-05/0.6631, allocations: 35.97 kB / 1.524 GB, free: 9.695 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.6633, allocations: 162.2 kB / 1.524 GB, free: 9.477 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.6636, allocations: 204.9 kB / 1.524 GB, free: 9.215 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6636, allocations: 3.938 kB / 1.524 GB, free: 9.211 MB / 1.217 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004031/0.664, allocations: 209.1 kB / 1.524 GB, free: 9 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.664, allocations: 8 kB / 1.524 GB, free: 8.992 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.664, allocations: 4 kB / 1.524 GB, free: 8.988 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.664, allocations: 7.938 kB / 1.524 GB, free: 8.98 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.6642, allocations: 40.55 kB / 1.524 GB, free: 8.941 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.6642, allocations: 7.984 kB / 1.524 GB, free: 8.934 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.6644, allocations: 31.78 kB / 1.524 GB, free: 8.902 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.6644, allocations: 12 kB / 1.524 GB, free: 8.891 MB / 1.217 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.0001612/0.6645, allocations: 217.7 kB / 1.525 GB, free: 8.668 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/0.6646, allocations: 120.8 kB / 1.525 GB, free: 8.543 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.776e-05/0.6647, allocations: 121.4 kB / 1.525 GB, free: 8.418 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.871e-05/0.6648, allocations: 184.3 kB / 1.525 GB, free: 8.23 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.831e-05/0.6649, allocations: 180.3 kB / 1.525 GB, free: 8.047 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.272e-05/0.6649, allocations: 176.3 kB / 1.525 GB, free: 7.867 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.6652, allocations: 420.8 kB / 1.526 GB, free: 7.418 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-05/0.6653, allocations: 101 kB / 1.526 GB, free: 7.312 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.6653, allocations: 116.9 kB / 1.526 GB, free: 7.191 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.952e-05/0.6654, allocations: 176.3 kB / 1.526 GB, free: 7.012 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.882e-05/0.6655, allocations: 180.3 kB / 1.526 GB, free: 6.828 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.184e-05/0.6656, allocations: 184.1 kB / 1.527 GB, free: 6.641 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.821e-05/0.6657, allocations: 176.3 kB / 1.527 GB, free: 6.461 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.6658, allocations: 319.7 kB / 1.527 GB, free: 6.125 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 9.021e-05/0.6659, allocations: 120.9 kB / 1.527 GB, free: 6 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.666, allocations: 188.2 kB / 1.527 GB, free: 5.809 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.6662, allocations: 104.9 kB / 1.527 GB, free: 5.699 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.6662, allocations: 184.2 kB / 1.528 GB, free: 5.512 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.6663, allocations: 105 kB / 1.528 GB, free: 5.402 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000175/0.6665, allocations: 164.2 kB / 1.528 GB, free: 5.242 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6665, allocations: 0 / 1.528 GB, free: 5.242 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003632/0.6668, allocations: 55.83 kB / 1.528 GB, free: 5.188 MB / 1.217 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.0002544/0.6671, allocations: 214.4 kB / 1.528 GB, free: 4.969 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.6673, allocations: 71.78 kB / 1.528 GB, free: 4.898 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.6673, allocations: 4 kB / 1.528 GB, free: 4.895 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.6673, allocations: 3.938 kB / 1.528 GB, free: 4.891 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.6677, allocations: 466.9 kB / 1.529 GB, free: 4.434 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.6684, allocations: 430.5 kB / 1.529 GB, free: 3.977 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.6685, allocations: 124.7 kB / 1.529 GB, free: 3.836 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.6686, allocations: 19.42 kB / 1.529 GB, free: 3.816 MB / 1.217 GB Notification: Performance of SimCode: time 3.91e-07/0.6686, allocations: 0 / 1.529 GB, free: 3.816 MB / 1.217 GB Notification: Performance of Templates: time 0.004908/0.6735, allocations: 2.539 MB / 1.532 GB, free: 1.273 MB / 1.217 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/jenkins1/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: 12.322260695975274]