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.002143/0.002143, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00259/0.00259, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.598/1.598, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.356/3.356, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002126/0.002126, allocations: 65.34 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4064, 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.1958/0.6022, allocations: 130.8 MB / 1.455 GB, free: 13.68 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005887/0.6081, allocations: 4.361 MB / 1.459 GB, free: 9.297 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000353/0.6084, allocations: 19.81 kB / 1.459 GB, free: 9.277 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006696/0.6091, allocations: 162.9 kB / 1.459 GB, free: 9.117 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0004579/0.6095, allocations: 91.44 kB / 1.459 GB, free: 9.027 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.6098, allocations: 67.86 kB / 1.459 GB, free: 8.961 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00049/0.6102, allocations: 302.8 kB / 1.46 GB, free: 8.664 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/0.6106, allocations: 100.2 kB / 1.46 GB, free: 8.57 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.6108, allocations: 115.5 kB / 1.46 GB, free: 8.457 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.6111, allocations: 159.4 kB / 1.46 GB, free: 8.301 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.6111, allocations: 16 kB / 1.46 GB, free: 8.285 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 3.63e-05/0.6111, allocations: 16 kB / 1.46 GB, free: 8.27 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.6112, allocations: 67.81 kB / 1.46 GB, free: 8.203 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.6114, allocations: 87.55 kB / 1.46 GB, free: 8.117 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.6118, allocations: 238.9 kB / 1.46 GB, free: 7.883 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.6118, allocations: 0 / 1.46 GB, free: 7.883 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.245e-06/0.6118, allocations: 0 / 1.46 GB, free: 7.883 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.6118, allocations: 0 / 1.46 GB, free: 7.883 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.0006867/0.6125, allocations: 425.7 kB / 1.461 GB, free: 7.438 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.6125, allocations: 8.031 kB / 1.461 GB, free: 7.43 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.6126, allocations: 28.8 kB / 1.461 GB, free: 7.402 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.6131, allocations: 208.1 kB / 1.461 GB, free: 7.176 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.6131, allocations: 20.81 kB / 1.461 GB, free: 7.156 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.6131, allocations: 20.38 kB / 1.461 GB, free: 7.137 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/0.6137, allocations: 305 kB / 1.461 GB, free: 6.781 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.6137, allocations: 4 kB / 1.461 GB, free: 6.777 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.6137, allocations: 15.94 kB / 1.461 GB, free: 6.762 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.6137, allocations: 8 kB / 1.461 GB, free: 6.754 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.6139, allocations: 127.7 kB / 1.462 GB, free: 6.629 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.6154, allocations: 1.803 MB / 1.463 GB, free: 4.738 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.6155, allocations: 169.1 kB / 1.463 GB, free: 4.562 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.6156, allocations: 80.14 kB / 1.464 GB, free: 4.48 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.6156, allocations: 75.28 kB / 1.464 GB, free: 4.406 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.748e-05/0.6157, allocations: 109.8 kB / 1.464 GB, free: 4.289 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.6157, allocations: 4 kB / 1.464 GB, free: 4.285 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 9.56e-05/0.6158, allocations: 41.59 kB / 1.464 GB, free: 4.238 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.6159, allocations: 130.6 kB / 1.464 GB, free: 4.098 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.6161, allocations: 178.9 kB / 1.464 GB, free: 3.91 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.6161, allocations: 25.7 kB / 1.464 GB, free: 3.879 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.6162, allocations: 187.8 kB / 1.464 GB, free: 3.691 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-06/0.6162, allocations: 0 / 1.464 GB, free: 3.691 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.6163, allocations: 21.72 kB / 1.464 GB, free: 3.664 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.6165, allocations: 322.8 kB / 1.465 GB, free: 3.34 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.6165, allocations: 8 kB / 1.465 GB, free: 3.332 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.297e-05/0.6165, allocations: 54.86 kB / 1.465 GB, free: 3.254 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.6166, allocations: 74.78 kB / 1.465 GB, free: 3.156 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6167, allocations: 0 / 1.465 GB, free: 3.156 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001908/0.6168, allocations: 101.4 kB / 1.465 GB, free: 3.051 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6169, allocations: 11.94 kB / 1.465 GB, free: 3.039 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.6169, allocations: 0 / 1.465 GB, free: 3.039 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.6169, allocations: 4 kB / 1.465 GB, free: 3.035 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.959e-05/0.617, allocations: 15.94 kB / 1.465 GB, free: 3.02 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.617, allocations: 4 kB / 1.465 GB, free: 3.016 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.617, allocations: 0 / 1.465 GB, free: 3.016 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.617, allocations: 4 kB / 1.465 GB, free: 3.012 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.0001872/0.6172, allocations: 225.2 kB / 1.465 GB, free: 2.781 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.6173, allocations: 112.9 kB / 1.465 GB, free: 2.664 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.109e-05/0.6174, allocations: 121.4 kB / 1.465 GB, free: 2.535 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.464e-05/0.6175, allocations: 184.2 kB / 1.466 GB, free: 2.348 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-05/0.6176, allocations: 176.3 kB / 1.466 GB, free: 2.168 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.564e-05/0.6177, allocations: 184.3 kB / 1.466 GB, free: 1.98 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.618, allocations: 420.8 kB / 1.466 GB, free: 1.531 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-05/0.6181, allocations: 104.9 kB / 1.466 GB, free: 1.422 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.457e-05/0.6181, allocations: 105 kB / 1.466 GB, free: 1.312 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.843e-05/0.6182, allocations: 180.3 kB / 1.467 GB, free: 1.129 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-05/0.6183, allocations: 184.1 kB / 1.467 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.772e-05/0.6184, allocations: 184.2 kB / 1.467 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.838e-05/0.6185, allocations: 188.1 kB / 1.467 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.6187, allocations: 311.7 kB / 1.467 GB, free: 240 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.6187, allocations: 112.9 kB / 1.468 GB, free: 120 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.6189, allocations: 180.2 kB / 1.468 GB, free: 15.93 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.619, allocations: 108.9 kB / 1.468 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.6191, allocations: 184.2 kB / 1.468 GB, free: 15.63 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.984e-05/0.6191, allocations: 104.9 kB / 1.468 GB, free: 15.52 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001053/0.6192, allocations: 124.3 kB / 1.468 GB, free: 15.4 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6192, allocations: 0 / 1.468 GB, free: 15.4 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003056/0.6195, 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.0001528/0.6197, allocations: 174.5 kB / 1.468 GB, free: 15.18 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 9.287e-05/0.6198, allocations: 19.94 kB / 1.468 GB, free: 15.16 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6198, allocations: 0 / 1.468 GB, free: 15.16 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.6198, 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.0004701/0.6202, allocations: 467.7 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.0006593/0.6209, allocations: 388.3 kB / 1.469 GB, free: 14.29 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.6211, allocations: 137.4 kB / 1.469 GB, free: 14.14 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 5.307e-05/0.6211, allocations: 20.34 kB / 1.469 GB, free: 14.12 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.6211, allocations: 15.44 kB / 1.469 GB, free: 14.11 MB / 1.17 GB Notification: Performance of SimCode: time 2.81e-07/0.6211, allocations: 0 / 1.469 GB, free: 14.11 MB / 1.17 GB Notification: Performance of Templates: time 0.003603/0.6247, allocations: 0.5946 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 gbode -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: 9.803528625998297]