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.002155/0.002155, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001629/0.001629, allocations: 218 kB / 22.26 MB, free: 5.082 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.603/1.603, allocations: 230.6 MB / 256 MB, free: 8.023 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.422/3.422, allocations: 0.49 GB / 0.7951 GB, free: 33.62 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.002192/0.002192, allocations: 67.66 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5421, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2495/0.7916, allocations: 177.7 MB / 1.5 GB, free: 15.04 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.8034, allocations: 9.643 MB / 1.509 GB, free: 5.367 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.8039, allocations: 15.88 kB / 1.509 GB, free: 5.352 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009107/0.8048, allocations: 202.7 kB / 1.51 GB, free: 5.152 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.8051, allocations: 87.38 kB / 1.51 GB, free: 5.066 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.8054, allocations: 75.73 kB / 1.51 GB, free: 4.992 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.8059, allocations: 322.7 kB / 1.51 GB, free: 4.676 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.8062, allocations: 105 kB / 1.51 GB, free: 4.566 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.8066, allocations: 163.4 kB / 1.51 GB, free: 4.406 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.8068, allocations: 107.4 kB / 1.51 GB, free: 4.301 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.8068, allocations: 16 kB / 1.51 GB, free: 4.285 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 2.898e-05/0.8069, allocations: 16 kB / 1.51 GB, free: 4.27 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 4.271e-05/0.8069, allocations: 39.86 kB / 1.51 GB, free: 4.23 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.807, allocations: 103.5 kB / 1.511 GB, free: 4.129 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.8073, allocations: 215 kB / 1.511 GB, free: 3.918 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.8073, allocations: 0 / 1.511 GB, free: 3.918 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8073, allocations: 0 / 1.511 GB, free: 3.918 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.8074, allocations: 0 / 1.511 GB, free: 3.918 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.0005968/0.808, allocations: 405.6 kB / 1.511 GB, free: 3.492 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/0.808, allocations: 16.02 kB / 1.511 GB, free: 3.477 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.8081, allocations: 23.8 kB / 1.511 GB, free: 3.453 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.8085, allocations: 192.9 kB / 1.511 GB, free: 3.238 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.8085, allocations: 20.38 kB / 1.511 GB, free: 3.219 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.8086, allocations: 23.98 kB / 1.511 GB, free: 3.195 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.8089, allocations: 227.8 kB / 1.512 GB, free: 2.934 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.809, allocations: 4 kB / 1.512 GB, free: 2.93 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.809, allocations: 11.94 kB / 1.512 GB, free: 2.918 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.809, allocations: 11.94 kB / 1.512 GB, free: 2.906 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.8092, allocations: 87.83 kB / 1.512 GB, free: 2.82 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.8104, allocations: 1.395 MB / 1.513 GB, free: 1.348 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.8106, allocations: 169.1 kB / 1.513 GB, free: 1.172 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.8106, allocations: 84.14 kB / 1.513 GB, free: 1.086 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 5.777e-05/0.8107, allocations: 83.27 kB / 1.513 GB, free: 1.004 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.378e-05/0.8107, allocations: 109.8 kB / 1.514 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.8107, allocations: 0 / 1.514 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001044/0.8108, allocations: 45.56 kB / 1.514 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.8109, allocations: 138.6 kB / 1.514 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.8113, allocations: 284.2 kB / 1.514 GB, free: 408 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.8113, allocations: 25.7 kB / 1.514 GB, free: 376 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.8115, allocations: 151.9 kB / 1.514 GB, free: 220 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.8115, allocations: 8 kB / 1.514 GB, free: 212 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.8115, allocations: 9.719 kB / 1.514 GB, free: 196 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.8117, allocations: 338.8 kB / 1.514 GB, free: 15.85 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.8117, allocations: 4 kB / 1.514 GB, free: 15.85 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.8118, allocations: 23.44 kB / 1.514 GB, free: 15.81 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.428e-05/0.8118, allocations: 39.38 kB / 1.515 GB, free: 15.76 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8118, allocations: 0 / 1.515 GB, free: 15.76 MB / 1.217 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001646/0.812, allocations: 73.48 kB / 1.515 GB, free: 15.68 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.812, allocations: 6.031 kB / 1.515 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.812, allocations: 4 kB / 1.515 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.812, allocations: 4.125 kB / 1.515 GB, free: 15.67 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.65e-05/0.8121, allocations: 15.92 kB / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.8121, allocations: 0 / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.8122, allocations: 19.78 kB / 1.515 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.8122, allocations: 4.109 kB / 1.515 GB, free: 15.63 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.0001667/0.8124, allocations: 209.5 kB / 1.515 GB, free: 15.42 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.8125, allocations: 120.8 kB / 1.515 GB, free: 15.29 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.378e-05/0.8126, allocations: 129.8 kB / 1.515 GB, free: 15.16 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.722e-05/0.8127, allocations: 176.3 kB / 1.515 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001022/0.8128, allocations: 188.2 kB / 1.515 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.474e-05/0.8128, allocations: 176.3 kB / 1.516 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.8132, allocations: 440.3 kB / 1.516 GB, free: 14.13 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.633e-05/0.8132, allocations: 109 kB / 1.516 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.157e-05/0.8133, allocations: 113 kB / 1.516 GB, free: 13.9 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.925e-05/0.8134, allocations: 184.2 kB / 1.516 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.411e-05/0.8135, allocations: 184.3 kB / 1.517 GB, free: 13.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.674e-05/0.8136, allocations: 176.3 kB / 1.517 GB, free: 13.34 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.619e-05/0.8137, allocations: 184.2 kB / 1.517 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.8139, allocations: 335.5 kB / 1.517 GB, free: 12.8 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 9.316e-05/0.8139, allocations: 116.8 kB / 1.517 GB, free: 12.68 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.8141, allocations: 188.2 kB / 1.518 GB, free: 12.49 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.8142, allocations: 104.9 kB / 1.518 GB, free: 12.38 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/0.8143, allocations: 176.4 kB / 1.518 GB, free: 12.2 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.8143, allocations: 108.9 kB / 1.518 GB, free: 12.09 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000221/0.8146, allocations: 211.1 kB / 1.518 GB, free: 11.89 MB / 1.217 GB Notification: Performance of sort global known variables: time 6e-08/0.8146, allocations: 0 / 1.518 GB, free: 11.89 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0002615/0.8148, allocations: 20 kB / 1.518 GB, free: 11.87 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.0001615/0.815, allocations: 182.4 kB / 1.518 GB, free: 11.68 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 8.828e-05/0.8151, allocations: 15.88 kB / 1.518 GB, free: 11.66 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8151, allocations: 4.25 kB / 1.518 GB, free: 11.66 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.8151, allocations: 0 / 1.518 GB, free: 11.66 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008523/0.8159, allocations: 0.5293 MB / 1.519 GB, free: 11.12 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.8166, allocations: 368.8 kB / 1.519 GB, free: 10.73 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.817, allocations: 0.7245 MB / 1.52 GB, free: 9.984 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 7.736e-05/0.817, allocations: 21.95 kB / 1.52 GB, free: 9.965 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.8171, allocations: 15.44 kB / 1.52 GB, free: 9.949 MB / 1.217 GB Notification: Performance of SimCode: time 3.21e-07/0.8171, allocations: 0 / 1.52 GB, free: 9.949 MB / 1.217 GB Notification: Performance of Templates: time 0.006494/0.8236, allocations: 2.462 MB / 1.522 GB, free: 7.527 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/jenkins/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: 10.498648460023105]