Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.001703/0.001703, allocations: 112.6 kB / 19.7 MB, free: 2.25 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.002198/0.002198, allocations: 214.5 kB / 23 MB, free: 5.113 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.369/3.369, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [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.002038/0.002038, allocations: 66.86 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3678, allocations: 180.2 MB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2131/0.5809, allocations: 177.8 MB / 1.528 GB, free: 5.496 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.5918, allocations: 9.655 MB / 1.537 GB, free: 11.81 MB / 1.233 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.5922, allocations: 15.88 kB / 1.537 GB, free: 11.8 MB / 1.233 GB Notification: Performance of NFTyping.typeComponents: time 0.0006836/0.5929, allocations: 202.5 kB / 1.537 GB, free: 11.6 MB / 1.233 GB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.5932, allocations: 95.31 kB / 1.537 GB, free: 11.5 MB / 1.233 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.5934, allocations: 71.84 kB / 1.538 GB, free: 11.43 MB / 1.233 GB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.5939, allocations: 322.7 kB / 1.538 GB, free: 11.12 MB / 1.233 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.5942, allocations: 133.4 kB / 1.538 GB, free: 10.98 MB / 1.233 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/0.5945, allocations: 183.3 kB / 1.538 GB, free: 10.8 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.5947, allocations: 127.4 kB / 1.538 GB, free: 10.68 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 3.926e-05/0.5948, allocations: 20 kB / 1.538 GB, free: 10.66 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 3.91e-05/0.5948, allocations: 24 kB / 1.538 GB, free: 10.64 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 9.571e-05/0.5949, allocations: 75.81 kB / 1.538 GB, free: 10.56 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.595, allocations: 123.4 kB / 1.538 GB, free: 10.44 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.5954, allocations: 302.5 kB / 1.539 GB, free: 10.14 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5954, allocations: 0 / 1.539 GB, free: 10.14 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5954, allocations: 0 / 1.539 GB, free: 10.14 MB / 1.233 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.5954, allocations: 4 kB / 1.539 GB, free: 10.14 MB / 1.233 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005506/0.596, allocations: 445.6 kB / 1.539 GB, free: 9.676 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.596, allocations: 12.02 kB / 1.539 GB, free: 9.664 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/0.5961, allocations: 43.69 kB / 1.539 GB, free: 9.621 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.5965, allocations: 216.7 kB / 1.539 GB, free: 9.383 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.5965, allocations: 20.66 kB / 1.539 GB, free: 9.359 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.5965, allocations: 24 kB / 1.54 GB, free: 9.336 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.597, allocations: 317.2 kB / 1.54 GB, free: 8.98 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.597, allocations: 3.938 kB / 1.54 GB, free: 8.977 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.5971, allocations: 16 kB / 1.54 GB, free: 8.961 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.5971, allocations: 8 kB / 1.54 GB, free: 8.953 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.5973, allocations: 151.7 kB / 1.54 GB, free: 8.805 MB / 1.233 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.5989, allocations: 1.769 MB / 1.542 GB, free: 6.949 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.599, allocations: 165.1 kB / 1.542 GB, free: 6.777 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.599, allocations: 80.14 kB / 1.542 GB, free: 6.695 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.5991, allocations: 83.16 kB / 1.542 GB, free: 6.613 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/0.5991, allocations: 113.9 kB / 1.542 GB, free: 6.492 MB / 1.233 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.5991, allocations: 7.938 kB / 1.542 GB, free: 6.484 MB / 1.233 GB Notification: Performance of matching and sorting (n=0): time 0.0001029/0.5992, allocations: 57.5 kB / 1.542 GB, free: 6.422 MB / 1.233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.5993, allocations: 126.7 kB / 1.542 GB, free: 6.285 MB / 1.233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/0.5997, allocations: 373.7 kB / 1.543 GB, free: 5.914 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.5998, allocations: 25.7 kB / 1.543 GB, free: 5.883 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.6, allocations: 171.9 kB / 1.543 GB, free: 5.711 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.6, allocations: 0 / 1.543 GB, free: 5.711 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.6, allocations: 17.72 kB / 1.543 GB, free: 5.688 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.6002, allocations: 342.8 kB / 1.543 GB, free: 5.344 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.6002, allocations: 4 kB / 1.543 GB, free: 5.34 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.6002, allocations: 36.36 kB / 1.543 GB, free: 5.289 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.812e-05/0.6003, allocations: 56.22 kB / 1.543 GB, free: 5.219 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6003, allocations: 0 / 1.543 GB, free: 5.219 MB / 1.233 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001679/0.6004, allocations: 89.38 kB / 1.543 GB, free: 5.125 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.6005, allocations: 8 kB / 1.543 GB, free: 5.117 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.6005, allocations: 3.938 kB / 1.543 GB, free: 5.113 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.6005, allocations: 4 kB / 1.543 GB, free: 5.109 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.293e-05/0.6005, allocations: 8.156 kB / 1.543 GB, free: 5.102 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.6005, allocations: 4 kB / 1.543 GB, free: 5.098 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.316e-05/0.6006, allocations: 27.73 kB / 1.543 GB, free: 5.07 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.6006, allocations: 0 / 1.543 GB, free: 5.07 MB / 1.233 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001644/0.6008, allocations: 213.8 kB / 1.544 GB, free: 4.852 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.6009, allocations: 136.7 kB / 1.544 GB, free: 4.711 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.59e-05/0.601, allocations: 138.7 kB / 1.544 GB, free: 4.566 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-05/0.6011, allocations: 184.3 kB / 1.544 GB, free: 4.379 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-05/0.6012, allocations: 184.1 kB / 1.544 GB, free: 4.191 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.422e-05/0.6012, allocations: 180.3 kB / 1.544 GB, free: 4.008 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.6016, allocations: 464.1 kB / 1.545 GB, free: 3.504 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.094e-05/0.6017, allocations: 108.9 kB / 1.545 GB, free: 3.391 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.583e-05/0.6018, allocations: 105 kB / 1.545 GB, free: 3.281 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.048e-05/0.6018, allocations: 188.2 kB / 1.545 GB, free: 3.09 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.627e-05/0.6019, allocations: 176.3 kB / 1.545 GB, free: 2.91 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.058e-05/0.602, allocations: 180.2 kB / 1.546 GB, free: 2.727 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001217/0.6021, allocations: 176.3 kB / 1.546 GB, free: 2.547 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.6023, allocations: 335.6 kB / 1.546 GB, free: 2.195 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.6024, allocations: 140.7 kB / 1.546 GB, free: 2.051 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.6025, allocations: 184.1 kB / 1.546 GB, free: 1.863 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.6027, allocations: 101 kB / 1.546 GB, free: 1.758 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.6027, allocations: 184.2 kB / 1.547 GB, free: 1.57 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.6028, allocations: 109 kB / 1.547 GB, free: 1.457 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0003404/0.6031, allocations: 271.1 kB / 1.547 GB, free: 1.191 MB / 1.233 GB Notification: Performance of sort global known variables: time 7e-08/0.6031, allocations: 0 / 1.547 GB, free: 1.191 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.0002995/0.6034, allocations: 28 kB / 1.547 GB, free: 1.164 MB / 1.233 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.0001508/0.6036, allocations: 170.5 kB / 1.547 GB, free: 0.9844 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 8.285e-05/0.6037, allocations: 11.94 kB / 1.547 GB, free: 0.9727 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6037, allocations: 320 / 1.547 GB, free: 0.9727 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.6037, allocations: 8 kB / 1.547 GB, free: 0.9648 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/0.6045, allocations: 0.5608 MB / 1.548 GB, free: 416 kB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007601/0.6053, allocations: 478.8 kB / 1.548 GB, free: 15.91 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.6057, allocations: 0.7557 MB / 1.549 GB, free: 15.12 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.6058, allocations: 19.44 kB / 1.549 GB, free: 15.11 MB / 1.248 GB Notification: Performance of SimCode: time 3.01e-07/0.6058, allocations: 0 / 1.549 GB, free: 15.11 MB / 1.248 GB Notification: Performance of Templates: time 0.005767/0.6115, allocations: 3.142 MB / 1.552 GB, free: 11.98 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.323210255010054]