Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001787/0.001787, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002359/0.002359, allocations: 213 kB / 22.99 MB, free: 4.957 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.611/1.611, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.502/3.502, allocations: 0.49 GB / 0.7959 GB, free: 35.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.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_12_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_12_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.002174/0.002174, allocations: 72.94 kB / 1.155 GB, free: 25.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.482, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.204/0.686, allocations: 130.8 MB / 1.455 GB, free: 13.68 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005773/0.6917, allocations: 4.364 MB / 1.459 GB, free: 9.297 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002978/0.692, allocations: 11.94 kB / 1.459 GB, free: 9.285 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.6926, allocations: 166.8 kB / 1.459 GB, free: 9.121 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.693, allocations: 91.44 kB / 1.459 GB, free: 9.031 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.6932, allocations: 67.92 kB / 1.459 GB, free: 8.965 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004361/0.6936, allocations: 298.8 kB / 1.46 GB, free: 8.672 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.6939, allocations: 104.2 kB / 1.46 GB, free: 8.574 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.6941, allocations: 123.4 kB / 1.46 GB, free: 8.453 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.6944, allocations: 151.4 kB / 1.46 GB, free: 8.305 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.6944, allocations: 16 kB / 1.46 GB, free: 8.289 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 3.586e-05/0.6944, allocations: 20 kB / 1.46 GB, free: 8.27 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.6946, allocations: 71.75 kB / 1.46 GB, free: 8.199 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.6947, allocations: 83.61 kB / 1.46 GB, free: 8.117 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.695, allocations: 234.9 kB / 1.46 GB, free: 7.887 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.695, allocations: 0 / 1.46 GB, free: 7.887 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.575e-06/0.695, allocations: 0 / 1.46 GB, free: 7.887 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.695, allocations: 0 / 1.46 GB, free: 7.887 MB / 1.154 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.0006527/0.6957, allocations: 423.4 kB / 1.461 GB, free: 7.445 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.6957, allocations: 12.03 kB / 1.461 GB, free: 7.434 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.6958, allocations: 28.8 kB / 1.461 GB, free: 7.406 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.6963, allocations: 210.1 kB / 1.461 GB, free: 7.176 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.6963, allocations: 20.75 kB / 1.461 GB, free: 7.156 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.6964, allocations: 20.38 kB / 1.461 GB, free: 7.137 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.6969, allocations: 301.1 kB / 1.461 GB, free: 6.785 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.6969, allocations: 11.88 kB / 1.461 GB, free: 6.773 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.6969, allocations: 8 kB / 1.461 GB, free: 6.766 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.697, allocations: 4 kB / 1.461 GB, free: 6.762 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.6972, allocations: 131.7 kB / 1.462 GB, free: 6.633 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.6987, allocations: 1.807 MB / 1.463 GB, free: 4.738 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.6989, allocations: 173.1 kB / 1.464 GB, free: 4.559 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.6989, allocations: 80.14 kB / 1.464 GB, free: 4.477 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.699, allocations: 75.28 kB / 1.464 GB, free: 4.402 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.61e-05/0.699, allocations: 105.8 kB / 1.464 GB, free: 4.289 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.699, allocations: 0 / 1.464 GB, free: 4.289 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 9.415e-05/0.6991, allocations: 37.66 kB / 1.464 GB, free: 4.246 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/0.6992, allocations: 134.6 kB / 1.464 GB, free: 4.102 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.6994, allocations: 182.8 kB / 1.464 GB, free: 3.91 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.6994, allocations: 25.7 kB / 1.464 GB, free: 3.879 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.6996, allocations: 187.8 kB / 1.464 GB, free: 3.691 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.214e-06/0.6996, allocations: 3.984 kB / 1.464 GB, free: 3.688 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.6997, allocations: 25.72 kB / 1.464 GB, free: 3.656 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.6998, allocations: 318.8 kB / 1.465 GB, free: 3.336 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.6999, allocations: 8 kB / 1.465 GB, free: 3.328 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.257e-05/0.6999, allocations: 54.86 kB / 1.465 GB, free: 3.25 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.7, allocations: 78.78 kB / 1.465 GB, free: 3.148 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7, allocations: 0 / 1.465 GB, free: 3.148 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001921/0.7002, allocations: 89.7 kB / 1.465 GB, free: 3.055 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7002, allocations: 12 kB / 1.465 GB, free: 3.043 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7003, allocations: 0 / 1.465 GB, free: 3.043 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.7003, allocations: 7.938 kB / 1.465 GB, free: 3.035 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.7004, allocations: 19.94 kB / 1.465 GB, free: 3.016 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7004, allocations: 0 / 1.465 GB, free: 3.016 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.7004, allocations: 4 kB / 1.465 GB, free: 3.012 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.7004, allocations: 4 kB / 1.465 GB, free: 3.008 MB / 1.154 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.0001737/0.7006, allocations: 217 kB / 1.465 GB, free: 2.785 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/0.7007, allocations: 116.9 kB / 1.465 GB, free: 2.664 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.817e-05/0.7008, allocations: 117.5 kB / 1.465 GB, free: 2.539 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-05/0.7008, allocations: 188.1 kB / 1.466 GB, free: 2.348 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-05/0.7009, allocations: 180.3 kB / 1.466 GB, free: 2.164 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-05/0.701, allocations: 184.3 kB / 1.466 GB, free: 1.977 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.7013, allocations: 416.8 kB / 1.466 GB, free: 1.531 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.932e-05/0.7014, allocations: 105 kB / 1.466 GB, free: 1.422 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.7014, allocations: 108.9 kB / 1.466 GB, free: 1.309 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.418e-05/0.7015, allocations: 176.3 kB / 1.467 GB, free: 1.129 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/0.7016, allocations: 184.2 kB / 1.467 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.171e-05/0.7017, allocations: 176.3 kB / 1.467 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.35e-05/0.7017, allocations: 188.2 kB / 1.467 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.702, allocations: 319.7 kB / 1.467 GB, free: 240 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.702, allocations: 112.9 kB / 1.468 GB, free: 120 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.7022, allocations: 184.2 kB / 1.468 GB, free: 15.93 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.7023, allocations: 101 kB / 1.468 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.7024, allocations: 192.1 kB / 1.468 GB, free: 15.63 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-05/0.7024, allocations: 101 kB / 1.468 GB, free: 15.52 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001055/0.7025, allocations: 124.3 kB / 1.468 GB, free: 15.4 MB / 1.17 GB Notification: Performance of sort global known variables: time 6e-08/0.7025, allocations: 0 / 1.468 GB, free: 15.4 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002961/0.7028, allocations: 39.84 kB / 1.468 GB, free: 15.36 MB / 1.17 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.0001809/0.703, allocations: 166.5 kB / 1.468 GB, free: 15.19 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.7032, allocations: 31.88 kB / 1.468 GB, free: 15.16 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7032, allocations: 0 / 1.468 GB, free: 15.16 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.7032, allocations: 0 / 1.468 GB, free: 15.16 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.7037, allocations: 467.6 kB / 1.469 GB, free: 14.7 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007105/0.7044, allocations: 387.9 kB / 1.469 GB, free: 14.29 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.7046, allocations: 137.9 kB / 1.469 GB, free: 14.14 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 6.971e-05/0.7046, allocations: 12.41 kB / 1.469 GB, free: 14.12 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.7047, allocations: 11.44 kB / 1.469 GB, free: 14.11 MB / 1.17 GB Notification: Performance of SimCode: time 3.11e-07/0.7047, allocations: 3.938 kB / 1.469 GB, free: 14.11 MB / 1.17 GB Notification: Performance of Templates: time 0.003904/0.7086, allocations: 0.5945 MB / 1.47 GB, free: 13.52 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.411944909006706]