Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.002055/0.002055, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002519/0.002519, allocations: 210.7 kB / 22.24 MB, free: 5.262 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.729/1.729, allocations: 230.6 MB / 256 MB, free: 7.797 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.716/3.716, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") [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.002198/0.002198, allocations: 63 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5493/0.5515, allocations: 181.9 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.2205/0.7719, allocations: 130.8 MB / 1.492 GB, free: 10.2 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005819/0.7777, allocations: 4.36 MB / 1.496 GB, free: 5.824 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003103/0.7781, allocations: 11.94 kB / 1.496 GB, free: 5.812 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.7787, allocations: 170.8 kB / 1.496 GB, free: 5.645 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.7791, allocations: 91.44 kB / 1.496 GB, free: 5.555 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.7793, allocations: 59.92 kB / 1.496 GB, free: 5.496 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004658/0.7797, allocations: 302.8 kB / 1.496 GB, free: 5.199 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.7801, allocations: 105.2 kB / 1.497 GB, free: 5.102 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.7803, allocations: 119.6 kB / 1.497 GB, free: 4.984 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.7805, allocations: 143.4 kB / 1.497 GB, free: 4.844 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.7806, allocations: 16 kB / 1.497 GB, free: 4.828 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 3.601e-05/0.7806, allocations: 20 kB / 1.497 GB, free: 4.809 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.7807, allocations: 63.77 kB / 1.497 GB, free: 4.746 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.7808, allocations: 83.59 kB / 1.497 GB, free: 4.664 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.7812, allocations: 234.9 kB / 1.497 GB, free: 4.434 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7812, allocations: 0 / 1.497 GB, free: 4.434 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.414e-06/0.7812, allocations: 3.938 kB / 1.497 GB, free: 4.43 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.7812, allocations: 0 / 1.497 GB, free: 4.43 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006395/0.7818, allocations: 425.7 kB / 1.498 GB, free: 3.984 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.7819, allocations: 15.97 kB / 1.498 GB, free: 3.969 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.7819, allocations: 28.75 kB / 1.498 GB, free: 3.941 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.7824, allocations: 202.2 kB / 1.498 GB, free: 3.719 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.7824, allocations: 16.81 kB / 1.498 GB, free: 3.703 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.7825, allocations: 28.36 kB / 1.498 GB, free: 3.676 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.7829, allocations: 301 kB / 1.498 GB, free: 3.328 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.7829, allocations: 4 kB / 1.498 GB, free: 3.324 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.783, allocations: 8 kB / 1.498 GB, free: 3.316 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.783, allocations: 12 kB / 1.498 GB, free: 3.305 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.7832, allocations: 123.7 kB / 1.498 GB, free: 3.184 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.7847, allocations: 1.811 MB / 1.5 GB, free: 1.285 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.7849, allocations: 169.1 kB / 1.5 GB, free: 1.109 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.7849, allocations: 80.14 kB / 1.5 GB, free: 1.027 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.785, allocations: 75.28 kB / 1.5 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.483e-05/0.785, allocations: 109.8 kB / 1.501 GB, free: 0.8359 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.785, allocations: 3.938 kB / 1.501 GB, free: 0.832 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 9.466e-05/0.7851, allocations: 41.66 kB / 1.501 GB, free: 0.7852 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.633e-05/0.7852, allocations: 134.6 kB / 1.501 GB, free: 0.6406 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.7854, allocations: 174.3 kB / 1.501 GB, free: 468 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.7854, allocations: 25.7 kB / 1.501 GB, free: 436 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.7856, allocations: 179.9 kB / 1.501 GB, free: 252 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.7856, allocations: 0 / 1.501 GB, free: 252 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.7856, allocations: 29.66 kB / 1.501 GB, free: 216 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.7858, allocations: 314.8 kB / 1.501 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.7858, allocations: 11.98 kB / 1.501 GB, free: 15.88 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.7859, allocations: 58.81 kB / 1.501 GB, free: 15.8 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.786, allocations: 74.83 kB / 1.502 GB, free: 15.7 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.786, allocations: 0 / 1.502 GB, free: 15.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001871/0.7862, allocations: 93.61 kB / 1.502 GB, free: 15.61 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.7862, allocations: 4 kB / 1.502 GB, free: 15.6 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7862, allocations: 4 kB / 1.502 GB, free: 15.6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.7862, allocations: 4 kB / 1.502 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.7863, allocations: 19.92 kB / 1.502 GB, free: 15.57 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.7863, allocations: 3.938 kB / 1.502 GB, free: 15.57 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.7864, allocations: 7.953 kB / 1.502 GB, free: 15.56 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.7864, allocations: 4 kB / 1.502 GB, free: 15.56 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001697/0.7866, allocations: 217 kB / 1.502 GB, free: 15.34 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.719e-05/0.7867, allocations: 116.9 kB / 1.502 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.999e-05/0.7867, allocations: 121.6 kB / 1.502 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001153/0.7868, allocations: 180.2 kB / 1.502 GB, free: 14.91 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001061/0.7869, allocations: 184.2 kB / 1.502 GB, free: 14.72 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-05/0.787, allocations: 176.4 kB / 1.503 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.7873, allocations: 424.8 kB / 1.503 GB, free: 14.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.984e-05/0.7874, allocations: 109 kB / 1.503 GB, free: 13.97 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.7875, allocations: 101 kB / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.663e-05/0.7876, allocations: 180.2 kB / 1.503 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.839e-05/0.7876, allocations: 180.3 kB / 1.504 GB, free: 13.5 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.695e-05/0.7877, allocations: 180.2 kB / 1.504 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001034/0.7878, allocations: 184.4 kB / 1.504 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.7881, allocations: 315.7 kB / 1.504 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.264e-05/0.7882, allocations: 116.9 kB / 1.504 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.7883, allocations: 188.2 kB / 1.504 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.7884, allocations: 105 kB / 1.505 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.7885, allocations: 180.2 kB / 1.505 GB, free: 12.19 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/0.7885, allocations: 108.9 kB / 1.505 GB, free: 12.08 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001141/0.7886, allocations: 124.8 kB / 1.505 GB, free: 11.96 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.7886, allocations: 0 / 1.505 GB, free: 11.96 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003079/0.789, allocations: 39.78 kB / 1.505 GB, free: 11.92 MB / 1.201 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.0001695/0.7891, allocations: 181.1 kB / 1.505 GB, free: 11.73 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.7892, allocations: 19.94 kB / 1.505 GB, free: 11.71 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.7892, allocations: 0 / 1.505 GB, free: 11.71 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 4.038e-06/0.7892, allocations: 4 kB / 1.505 GB, free: 11.71 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.7897, allocations: 467.6 kB / 1.506 GB, free: 11.25 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006208/0.7904, allocations: 395.9 kB / 1.506 GB, free: 10.83 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.7905, allocations: 137.1 kB / 1.506 GB, free: 10.68 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 5.423e-05/0.7906, allocations: 12.41 kB / 1.506 GB, free: 10.67 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.7906, allocations: 11.44 kB / 1.506 GB, free: 10.66 MB / 1.201 GB Notification: Performance of SimCode: time 2.81e-07/0.7906, allocations: 4 kB / 1.506 GB, free: 10.65 MB / 1.201 GB Notification: Performance of Templates: time 0.003476/0.7941, allocations: 0.5562 MB / 1.507 GB, free: 10.1 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.313634142279625]