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.001933/0.001933, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002025/0.002025, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.647/1.647, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.647/3.647, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 175] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.526e-05/3.737e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2832/0.2833, allocations: 166.6 MB / 1.04 GB, free: 15.52 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.2946, allocations: 6.181 MB / 1.046 GB, free: 9.312 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004238/0.295, allocations: 7.938 kB / 1.046 GB, free: 9.305 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.000878/0.2959, allocations: 190.7 kB / 1.046 GB, free: 9.117 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0004173/0.2963, allocations: 103.2 kB / 1.046 GB, free: 9.016 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.298, allocations: 0.529 MB / 1.047 GB, free: 8.484 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0006479/0.2987, allocations: 422.5 kB / 1.047 GB, free: 8.07 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.299, allocations: 88.27 kB / 1.047 GB, free: 7.977 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004979/0.2995, allocations: 263.2 kB / 1.048 GB, free: 7.719 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.2997, allocations: 123.7 kB / 1.048 GB, free: 7.598 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.2998, allocations: 16 kB / 1.048 GB, free: 7.582 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000866/0.3007, allocations: 386.7 kB / 1.048 GB, free: 7.203 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.3008, allocations: 75.72 kB / 1.048 GB, free: 7.129 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.3009, allocations: 67.84 kB / 1.048 GB, free: 7.062 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008345/0.3017, allocations: 470.4 kB / 1.049 GB, free: 6.602 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3017, allocations: 4 kB / 1.049 GB, free: 6.598 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3017, allocations: 0 / 1.049 GB, free: 6.598 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.3017, allocations: 0 / 1.049 GB, free: 6.598 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.0008709/0.3026, allocations: 0.558 MB / 1.049 GB, free: 6.004 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3026, allocations: 8.031 kB / 1.049 GB, free: 5.996 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003933/0.303, allocations: 79.72 kB / 1.049 GB, free: 5.918 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.3034, allocations: 207.7 kB / 1.05 GB, free: 5.688 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.3037, allocations: 242.1 kB / 1.05 GB, free: 5.402 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.3038, allocations: 20 kB / 1.05 GB, free: 5.383 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.3043, allocations: 305.1 kB / 1.05 GB, free: 5.035 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.3044, allocations: 7.938 kB / 1.05 GB, free: 5.027 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.3044, allocations: 11.94 kB / 1.05 GB, free: 5.016 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.3044, allocations: 8 kB / 1.05 GB, free: 5.008 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.3047, allocations: 128.6 kB / 1.05 GB, free: 4.883 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.307, allocations: 2.079 MB / 1.052 GB, free: 2.719 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.3072, allocations: 269.4 kB / 1.053 GB, free: 2.441 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.906e-05/0.3073, allocations: 130.9 kB / 1.053 GB, free: 2.309 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.463e-05/0.3074, allocations: 119.2 kB / 1.053 GB, free: 2.191 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.3075, allocations: 156.6 kB / 1.053 GB, free: 2.027 MB / 1.01 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.3075, allocations: 0 / 1.053 GB, free: 2.027 MB / 1.01 GB Notification: Performance of matching and sorting (n=0): time 0.0001123/0.3076, allocations: 41.61 kB / 1.053 GB, free: 1.98 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.3077, allocations: 170.6 kB / 1.053 GB, free: 1.801 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.3082, allocations: 323.4 kB / 1.054 GB, free: 1.469 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3082, allocations: 25.7 kB / 1.054 GB, free: 1.438 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.3084, allocations: 266.3 kB / 1.054 GB, free: 1.172 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.3084, allocations: 7.984 kB / 1.054 GB, free: 1.164 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.3085, allocations: 55.31 kB / 1.054 GB, free: 1.102 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003135/0.3089, allocations: 0.5001 MB / 1.054 GB, free: 0.5898 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.967e-05/0.309, allocations: 27.98 kB / 1.054 GB, free: 0.5625 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.3093, allocations: 216.1 kB / 1.055 GB, free: 276 kB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6494/0.9586, allocations: 249 kB / 1.055 GB, free: 223.6 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/0.9586, allocations: 6.109 kB / 1.055 GB, free: 223.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005098/0.9591, allocations: 207.3 kB / 1.055 GB, free: 223.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.9591, allocations: 9.969 kB / 1.055 GB, free: 223.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.9591, allocations: 2.938 kB / 1.055 GB, free: 223.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.9592, allocations: 5.844 kB / 1.055 GB, free: 223.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.9593, allocations: 40.62 kB / 1.055 GB, free: 223.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.9593, allocations: 10.69 kB / 1.055 GB, free: 223.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.9595, allocations: 26.62 kB / 1.055 GB, free: 223.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.9595, allocations: 9.531 kB / 1.055 GB, free: 223.6 MB / 1.01 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.0001457/0.9597, allocations: 308.4 kB / 1.055 GB, free: 223.3 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.9597, allocations: 162 kB / 1.056 GB, free: 223.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.9598, allocations: 166.2 kB / 1.056 GB, free: 223 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.221e-05/0.9598, allocations: 264.1 kB / 1.056 GB, free: 222.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.246e-05/0.9599, allocations: 267.5 kB / 1.056 GB, free: 222.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.172e-05/0.9599, allocations: 271.5 kB / 1.056 GB, free: 222.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.9602, allocations: 0.5747 MB / 1.057 GB, free: 221.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/0.9602, allocations: 154.9 kB / 1.057 GB, free: 221.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.9602, allocations: 146 kB / 1.057 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.96e-05/0.9602, allocations: 270.4 kB / 1.058 GB, free: 221.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.9603, allocations: 268 kB / 1.058 GB, free: 220.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.949e-05/0.9603, allocations: 270.6 kB / 1.058 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.041e-05/0.9604, allocations: 272.7 kB / 1.058 GB, free: 220.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.9605, allocations: 458.2 kB / 1.059 GB, free: 219.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.9605, allocations: 165 kB / 1.059 GB, free: 219.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.9606, allocations: 267.3 kB / 1.059 GB, free: 219.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.9607, allocations: 152.6 kB / 1.059 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.9607, allocations: 264.1 kB / 1.06 GB, free: 219 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.9608, allocations: 158.1 kB / 1.06 GB, free: 218.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001679/0.9609, allocations: 208.1 kB / 1.06 GB, free: 218.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.9609, allocations: 1.188 kB / 1.06 GB, free: 218.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003943/0.9613, allocations: 63.06 kB / 1.06 GB, free: 218.8 MB / 1.01 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.0002609/0.9616, allocations: 245.5 kB / 1.06 GB, free: 218.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.9618, allocations: 92.14 kB / 1.06 GB, free: 218.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9618, allocations: 0 / 1.06 GB, free: 218.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 1.644e-06/0.9618, allocations: 0.5312 kB / 1.06 GB, free: 218.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.9622, allocations: 0.7182 MB / 1.061 GB, free: 217.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.9626, allocations: 434.8 kB / 1.061 GB, free: 217.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.9627, allocations: 127.5 kB / 1.062 GB, free: 217.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.9629, allocations: 27.27 kB / 1.062 GB, free: 217.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.9629, allocations: 14.66 kB / 1.062 GB, free: 217.4 MB / 1.01 GB Notification: Performance of SimCode: time 5.21e-07/0.9629, allocations: 0 / 1.062 GB, free: 217.4 MB / 1.01 GB Notification: Performance of Templates: time 0.004521/0.9674, allocations: 1.193 MB / 1.063 GB, free: 217.4 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 240] 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: 10.110160993994214]