Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001372/0.001372, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001657/0.001657, allocations: 217.7 kB / 23.01 MB, free: 4.566 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.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.258/3.258, allocations: 0.49 GB / 0.7958 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.00209/0.00209, allocations: 69.72 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3686, allocations: 176.1 MB / 1.327 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2229/0.5916, allocations: 177.7 MB / 1.501 GB, free: 15.01 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.6031, allocations: 9.647 MB / 1.51 GB, free: 5.332 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.6035, allocations: 15.94 kB / 1.51 GB, free: 5.316 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.6042, allocations: 190.7 kB / 1.51 GB, free: 5.129 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.6045, allocations: 99.3 kB / 1.51 GB, free: 5.031 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.6047, allocations: 75.78 kB / 1.51 GB, free: 4.957 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.6051, allocations: 314.7 kB / 1.511 GB, free: 4.648 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.6054, allocations: 109 kB / 1.511 GB, free: 4.535 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003759/0.6058, allocations: 167.3 kB / 1.511 GB, free: 4.371 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.6059, allocations: 107.5 kB / 1.511 GB, free: 4.266 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.606, allocations: 16 kB / 1.511 GB, free: 4.25 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 3.332e-05/0.606, allocations: 16 kB / 1.511 GB, free: 4.234 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.606, allocations: 31.86 kB / 1.511 GB, free: 4.203 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.6062, allocations: 103.5 kB / 1.511 GB, free: 4.102 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.6064, allocations: 218.9 kB / 1.512 GB, free: 3.887 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6065, allocations: 0 / 1.512 GB, free: 3.887 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6065, allocations: 0 / 1.512 GB, free: 3.887 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.6065, allocations: 8 kB / 1.512 GB, free: 3.879 MB / 1.201 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.0005192/0.607, allocations: 405.6 kB / 1.512 GB, free: 3.453 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.607, allocations: 8.031 kB / 1.512 GB, free: 3.445 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.6071, allocations: 31.8 kB / 1.512 GB, free: 3.414 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.6075, allocations: 194.7 kB / 1.512 GB, free: 3.199 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.6075, allocations: 20.44 kB / 1.512 GB, free: 3.18 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.6075, allocations: 20 kB / 1.512 GB, free: 3.16 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.6079, allocations: 227.8 kB / 1.512 GB, free: 2.898 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.6079, allocations: 7.938 kB / 1.512 GB, free: 2.891 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.6079, allocations: 19.88 kB / 1.512 GB, free: 2.871 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.6079, allocations: 4 kB / 1.512 GB, free: 2.867 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.6081, allocations: 95.77 kB / 1.513 GB, free: 2.773 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.6093, allocations: 1.387 MB / 1.514 GB, free: 1.309 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.6094, allocations: 169.1 kB / 1.514 GB, free: 1.133 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.6095, allocations: 80.14 kB / 1.514 GB, free: 1.051 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.6095, allocations: 75.28 kB / 1.514 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.336e-05/0.6096, allocations: 117.8 kB / 1.514 GB, free: 0.8516 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.6096, allocations: 0 / 1.514 GB, free: 0.8516 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001047/0.6097, allocations: 49.56 kB / 1.514 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.6098, allocations: 130.7 kB / 1.514 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.6101, allocations: 284.2 kB / 1.515 GB, free: 376 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.6101, allocations: 25.7 kB / 1.515 GB, free: 344 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.6103, allocations: 155.9 kB / 1.515 GB, free: 184 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/0.6103, allocations: 0 / 1.515 GB, free: 184 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.6103, allocations: 17.72 kB / 1.515 GB, free: 160 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.6105, allocations: 334.8 kB / 1.515 GB, free: 15.82 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.6105, allocations: 12 kB / 1.515 GB, free: 15.81 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.6105, allocations: 27.38 kB / 1.515 GB, free: 15.77 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.972e-05/0.6106, allocations: 27.44 kB / 1.515 GB, free: 15.73 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6106, allocations: 4 kB / 1.515 GB, free: 15.73 MB / 1.217 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001569/0.6107, allocations: 81.42 kB / 1.515 GB, free: 15.64 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.6108, allocations: 5.875 kB / 1.515 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6108, allocations: 0 / 1.515 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.6108, allocations: 4 kB / 1.515 GB, free: 15.63 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.6109, allocations: 4 kB / 1.515 GB, free: 15.63 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.6109, allocations: 7.969 kB / 1.515 GB, free: 15.62 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.6109, allocations: 23.89 kB / 1.515 GB, free: 15.6 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.6109, allocations: 3.938 kB / 1.515 GB, free: 15.59 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.0001468/0.6111, allocations: 209.7 kB / 1.516 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.271e-05/0.6112, allocations: 132.9 kB / 1.516 GB, free: 15.24 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.109e-05/0.6112, allocations: 121.9 kB / 1.516 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.68e-05/0.6113, allocations: 180.2 kB / 1.516 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.598e-05/0.6114, allocations: 176.3 kB / 1.516 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.822e-05/0.6115, allocations: 184.2 kB / 1.516 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.6119, allocations: 448.2 kB / 1.517 GB, free: 14.08 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.108e-05/0.6119, allocations: 105 kB / 1.517 GB, free: 13.97 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.612, allocations: 108.9 kB / 1.517 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.909e-05/0.6121, allocations: 180.3 kB / 1.517 GB, free: 13.67 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/0.6121, allocations: 184.2 kB / 1.517 GB, free: 13.48 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-05/0.6122, allocations: 188.3 kB / 1.518 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.143e-05/0.6123, allocations: 176.3 kB / 1.518 GB, free: 13.11 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.6125, allocations: 323.6 kB / 1.518 GB, free: 12.77 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.6126, allocations: 136.7 kB / 1.518 GB, free: 12.63 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.6127, allocations: 180.3 kB / 1.518 GB, free: 12.45 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.6128, allocations: 109 kB / 1.518 GB, free: 12.34 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/0.6129, allocations: 184.2 kB / 1.519 GB, free: 12.15 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.613, allocations: 101 kB / 1.519 GB, free: 12.04 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002031/0.6132, allocations: 203.1 kB / 1.519 GB, free: 11.85 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6132, allocations: 0 / 1.519 GB, free: 11.85 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0002723/0.6134, allocations: 28 kB / 1.519 GB, free: 11.82 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.000152/0.6136, allocations: 178.5 kB / 1.519 GB, free: 11.63 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 9.14e-05/0.6137, allocations: 11.92 kB / 1.519 GB, free: 11.62 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6137, allocations: 4 kB / 1.519 GB, free: 11.62 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.6137, allocations: 0 / 1.519 GB, free: 11.62 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000818/0.6145, allocations: 0.528 MB / 1.52 GB, free: 11.09 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.6151, allocations: 398.5 kB / 1.52 GB, free: 10.66 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.6155, allocations: 0.7206 MB / 1.521 GB, free: 9.914 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.6155, allocations: 19.44 kB / 1.521 GB, free: 9.895 MB / 1.217 GB Notification: Performance of SimCode: time 3.4e-07/0.6155, allocations: 0 / 1.521 GB, free: 9.895 MB / 1.217 GB Notification: Performance of Templates: time 0.004701/0.6202, allocations: 2.39 MB / 1.523 GB, free: 7.52 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.297878458019113]