Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.001578/0.001578, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002254/0.002254, allocations: 217.5 kB / 22.99 MB, free: 4.945 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.428/3.428, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 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.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|souRev.outlet.backward.T|souRev.outlet.backward.X_w",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") [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.00323/0.00323, allocations: 72.41 kB / 1.187 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4286, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2057/0.6343, allocations: 153.7 MB / 1.515 GB, free: 3.344 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.6456, allocations: 8.639 MB / 1.523 GB, free: 10.68 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.646, allocations: 15.88 kB / 1.523 GB, free: 10.66 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.000794/0.6468, allocations: 198.7 kB / 1.523 GB, free: 10.46 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.6472, allocations: 95.38 kB / 1.523 GB, free: 10.37 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.6474, allocations: 59.92 kB / 1.523 GB, free: 10.31 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0005107/0.6479, allocations: 326.4 kB / 1.524 GB, free: 9.992 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.6482, allocations: 101 kB / 1.524 GB, free: 9.891 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.6486, allocations: 155.5 kB / 1.524 GB, free: 9.738 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.6488, allocations: 107.4 kB / 1.524 GB, free: 9.633 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.6488, allocations: 16 kB / 1.524 GB, free: 9.617 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 3.949e-05/0.6489, allocations: 16 kB / 1.524 GB, free: 9.602 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.6489, allocations: 39.84 kB / 1.524 GB, free: 9.562 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 9.212e-05/0.649, allocations: 79.61 kB / 1.524 GB, free: 9.484 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.6493, allocations: 215 kB / 1.524 GB, free: 9.273 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6493, allocations: 0 / 1.524 GB, free: 9.273 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6493, allocations: 0 / 1.524 GB, free: 9.273 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.6493, allocations: 3.938 kB / 1.524 GB, free: 9.27 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005559/0.6499, allocations: 409.6 kB / 1.525 GB, free: 8.84 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.6499, allocations: 8.031 kB / 1.525 GB, free: 8.832 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.65, allocations: 31.8 kB / 1.525 GB, free: 8.801 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.6504, allocations: 196.8 kB / 1.525 GB, free: 8.582 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.6504, allocations: 16.44 kB / 1.525 GB, free: 8.566 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.6504, allocations: 20 kB / 1.525 GB, free: 8.547 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.6508, allocations: 235.8 kB / 1.525 GB, free: 8.281 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.6509, allocations: 0 / 1.525 GB, free: 8.281 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.6509, allocations: 15.88 kB / 1.525 GB, free: 8.266 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.6509, allocations: 8 kB / 1.525 GB, free: 8.258 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.6511, allocations: 87.84 kB / 1.525 GB, free: 8.172 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.6522, allocations: 1.29 MB / 1.527 GB, free: 6.816 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.6523, allocations: 173.1 kB / 1.527 GB, free: 6.637 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.6524, allocations: 80.14 kB / 1.527 GB, free: 6.555 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.6524, allocations: 75.28 kB / 1.527 GB, free: 6.48 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.168e-05/0.6525, allocations: 109.8 kB / 1.527 GB, free: 6.363 MB / 1.217 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.6525, allocations: 0 / 1.527 GB, free: 6.363 MB / 1.217 GB Notification: Performance of matching and sorting (n=0): time 8.915e-05/0.6526, allocations: 37.66 kB / 1.527 GB, free: 6.32 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.6527, allocations: 126.7 kB / 1.527 GB, free: 6.184 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.6528, allocations: 157.5 kB / 1.527 GB, free: 6.023 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.6528, allocations: 29.64 kB / 1.527 GB, free: 5.988 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.653, allocations: 168 kB / 1.528 GB, free: 5.82 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/0.653, allocations: 0 / 1.528 GB, free: 5.82 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.653, allocations: 17.67 kB / 1.528 GB, free: 5.797 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.6532, allocations: 326.8 kB / 1.528 GB, free: 5.469 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.6532, allocations: 0 / 1.528 GB, free: 5.469 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.6532, allocations: 31.44 kB / 1.528 GB, free: 5.426 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.78e-05/0.6533, allocations: 39.36 kB / 1.528 GB, free: 5.375 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6533, allocations: 4 kB / 1.528 GB, free: 5.371 MB / 1.217 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000137/0.6534, allocations: 57.53 kB / 1.528 GB, free: 5.312 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.6534, allocations: 8 kB / 1.528 GB, free: 5.305 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6535, allocations: 3.984 kB / 1.528 GB, free: 5.301 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.6535, allocations: 0 / 1.528 GB, free: 5.301 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.6535, allocations: 8.125 kB / 1.528 GB, free: 5.293 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.6535, allocations: 7.938 kB / 1.528 GB, free: 5.285 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.6536, allocations: 4.109 kB / 1.528 GB, free: 5.281 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.6536, allocations: 3.938 kB / 1.528 GB, free: 5.277 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.000156/0.6537, allocations: 201.1 kB / 1.528 GB, free: 5.07 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.6538, allocations: 116.9 kB / 1.528 GB, free: 4.949 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.719e-05/0.6539, allocations: 116.7 kB / 1.529 GB, free: 4.832 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-05/0.654, allocations: 176.4 kB / 1.529 GB, free: 4.652 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.044e-05/0.6541, allocations: 180.3 kB / 1.529 GB, free: 4.469 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.674e-05/0.6542, allocations: 188.2 kB / 1.529 GB, free: 4.277 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.6545, allocations: 404.8 kB / 1.529 GB, free: 3.844 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.766e-05/0.6546, allocations: 112.9 kB / 1.53 GB, free: 3.727 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.161e-05/0.6546, allocations: 105 kB / 1.53 GB, free: 3.617 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.039e-05/0.6547, allocations: 180.4 kB / 1.53 GB, free: 3.434 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-05/0.6548, allocations: 192.2 kB / 1.53 GB, free: 3.238 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-05/0.6549, allocations: 176.3 kB / 1.53 GB, free: 3.059 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.845e-05/0.655, allocations: 180.2 kB / 1.53 GB, free: 2.875 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.6552, allocations: 315.7 kB / 1.531 GB, free: 2.543 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.6552, allocations: 112.9 kB / 1.531 GB, free: 2.426 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.6553, allocations: 180.3 kB / 1.531 GB, free: 2.242 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.6554, allocations: 104.9 kB / 1.531 GB, free: 2.133 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/0.6555, allocations: 188.2 kB / 1.531 GB, free: 1.941 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.6556, allocations: 105 kB / 1.531 GB, free: 1.832 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001047/0.6557, allocations: 112.7 kB / 1.531 GB, free: 1.723 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6557, allocations: 0 / 1.531 GB, free: 1.723 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0002766/0.6559, allocations: 39.77 kB / 1.531 GB, free: 1.684 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.0001553/0.6561, allocations: 170.5 kB / 1.532 GB, free: 1.508 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 8.326e-05/0.6562, allocations: 12 kB / 1.532 GB, free: 1.496 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6562, allocations: 0 / 1.532 GB, free: 1.496 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/0.6562, allocations: 4.188 kB / 1.532 GB, free: 1.492 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.6566, allocations: 467.6 kB / 1.532 GB, free: 1.031 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006267/0.6573, allocations: 378.6 kB / 1.532 GB, free: 0.625 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.6574, allocations: 108.3 kB / 1.533 GB, free: 0.5 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.6574, allocations: 15.44 kB / 1.533 GB, free: 496 kB / 1.217 GB Notification: Performance of SimCode: time 4.61e-07/0.6574, allocations: 0 / 1.533 GB, free: 496 kB / 1.217 GB Notification: Performance of Templates: time 0.003512/0.6609, allocations: 1.422 MB / 1.534 GB, free: 15.06 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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: 11.856885769870132]