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.002114/0.002114, allocations: 111 kB / 16.46 MB, free: 6.453 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.002363/0.002363, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.578/1.578, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.432/3.432, allocations: 0.4899 GB / 0.7916 GB, free: 33.63 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.002119/0.002119, allocations: 66.67 kB / 1.149 GB, free: 26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4036, allocations: 176.1 MB / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.2126/0.6163, allocations: 151.4 MB / 1.469 GB, free: 10.74 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006216/0.6225, allocations: 4.703 MB / 1.474 GB, free: 6.023 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.6228, allocations: 11.88 kB / 1.474 GB, free: 6.012 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.6234, allocations: 166.9 kB / 1.474 GB, free: 5.848 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.6238, allocations: 91.39 kB / 1.474 GB, free: 5.758 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.624, allocations: 63.91 kB / 1.474 GB, free: 5.695 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000426/0.6244, allocations: 298.8 kB / 1.474 GB, free: 5.402 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.6247, allocations: 123.5 kB / 1.475 GB, free: 5.285 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.6249, allocations: 115.5 kB / 1.475 GB, free: 5.172 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.6251, allocations: 155.4 kB / 1.475 GB, free: 5.02 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.6251, allocations: 16 kB / 1.475 GB, free: 5.004 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 3.675e-05/0.6252, allocations: 16 kB / 1.475 GB, free: 4.988 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 9.075e-05/0.6253, allocations: 63.77 kB / 1.475 GB, free: 4.926 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.6254, allocations: 107.4 kB / 1.475 GB, free: 4.82 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.6257, allocations: 234.9 kB / 1.475 GB, free: 4.59 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6257, allocations: 4 kB / 1.475 GB, free: 4.586 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6257, allocations: 0 / 1.475 GB, free: 4.586 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.6257, allocations: 0 / 1.475 GB, free: 4.586 MB / 1.17 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.0006157/0.6264, allocations: 0.4949 MB / 1.476 GB, free: 4.043 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.6264, allocations: 11.97 kB / 1.476 GB, free: 4.031 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.003e-05/0.6265, allocations: 28.8 kB / 1.476 GB, free: 4.004 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.6269, allocations: 268 kB / 1.476 GB, free: 3.703 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.627, allocations: 16.81 kB / 1.476 GB, free: 3.688 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.627, allocations: 24.38 kB / 1.476 GB, free: 3.664 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.6275, allocations: 305 kB / 1.476 GB, free: 3.309 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.6275, allocations: 3.938 kB / 1.476 GB, free: 3.305 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.6275, allocations: 12 kB / 1.476 GB, free: 3.293 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.6276, allocations: 8 kB / 1.476 GB, free: 3.285 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.6278, allocations: 127.7 kB / 1.476 GB, free: 3.16 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.6296, allocations: 1.969 MB / 1.478 GB, free: 1.082 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.6297, allocations: 165.1 kB / 1.479 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.541e-05/0.6297, allocations: 80.14 kB / 1.479 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 5.067e-05/0.6298, allocations: 75.28 kB / 1.479 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.684e-05/0.6298, allocations: 113.8 kB / 1.479 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.6298, allocations: 4 kB / 1.479 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001071/0.63, allocations: 53.44 kB / 1.479 GB, free: 0.5703 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/0.63, allocations: 130.7 kB / 1.479 GB, free: 440 kB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.6305, allocations: 332.5 kB / 1.479 GB, free: 88 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.6305, allocations: 25.7 kB / 1.479 GB, free: 56 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.6306, allocations: 163.8 kB / 1.479 GB, free: 15.89 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-06/0.6307, allocations: 0 / 1.479 GB, free: 15.89 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.6307, allocations: 29.7 kB / 1.479 GB, free: 15.86 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.6309, allocations: 334.8 kB / 1.48 GB, free: 15.52 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.6309, allocations: 8 kB / 1.48 GB, free: 15.51 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.631, allocations: 54.86 kB / 1.48 GB, free: 15.43 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.892e-05/0.6311, allocations: 66.75 kB / 1.48 GB, free: 15.34 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6311, allocations: 4 kB / 1.48 GB, free: 15.34 MB / 1.186 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002144/0.6313, allocations: 105.4 kB / 1.48 GB, free: 15.23 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6313, allocations: 11.98 kB / 1.48 GB, free: 15.22 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.6313, allocations: 3.984 kB / 1.48 GB, free: 15.21 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.6313, allocations: 7.938 kB / 1.48 GB, free: 15.21 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.6314, allocations: 12 kB / 1.48 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.6314, allocations: 8.125 kB / 1.48 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.6315, allocations: 31.73 kB / 1.48 GB, free: 15.16 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.6315, allocations: 4 kB / 1.48 GB, free: 15.15 MB / 1.186 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.0001674/0.6317, allocations: 209.1 kB / 1.48 GB, free: 14.94 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/0.6318, allocations: 124.8 kB / 1.48 GB, free: 14.81 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.706e-05/0.6319, allocations: 133.9 kB / 1.481 GB, free: 14.67 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.309e-05/0.632, allocations: 184.2 kB / 1.481 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001032/0.6321, allocations: 184.2 kB / 1.481 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.071e-05/0.6322, allocations: 184.3 kB / 1.481 GB, free: 14.11 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.6325, allocations: 481.1 kB / 1.482 GB, free: 13.58 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.142e-05/0.6326, allocations: 104.9 kB / 1.482 GB, free: 13.47 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.6327, allocations: 101 kB / 1.482 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.6328, allocations: 188.2 kB / 1.482 GB, free: 13.18 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.899e-05/0.6328, allocations: 184.2 kB / 1.482 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.479e-05/0.6329, allocations: 180.2 kB / 1.482 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-05/0.633, allocations: 180.2 kB / 1.482 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.6332, allocations: 327.6 kB / 1.483 GB, free: 12.28 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.6334, allocations: 209.9 kB / 1.483 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.6335, allocations: 188.1 kB / 1.483 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.6336, allocations: 101 kB / 1.483 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.6337, allocations: 180.2 kB / 1.483 GB, free: 11.57 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.6338, allocations: 108.9 kB / 1.483 GB, free: 11.45 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002687/0.6341, allocations: 235 kB / 1.484 GB, free: 11.23 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6341, allocations: 4 kB / 1.484 GB, free: 11.22 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002695/0.6343, allocations: 28 kB / 1.484 GB, free: 11.2 MB / 1.186 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.0001697/0.6345, allocations: 170.5 kB / 1.484 GB, free: 11.02 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.6346, allocations: 27.92 kB / 1.484 GB, free: 10.99 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6346, allocations: 0 / 1.484 GB, free: 10.99 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.6346, allocations: 0.5 kB / 1.484 GB, free: 10.99 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008255/0.6354, allocations: 0.5242 MB / 1.484 GB, free: 10.46 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006639/0.6361, allocations: 403.7 kB / 1.485 GB, free: 10.04 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.6365, allocations: 0.748 MB / 1.486 GB, free: 9.266 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 8.499e-05/0.6366, allocations: 26.28 kB / 1.486 GB, free: 9.242 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.6366, allocations: 15.44 kB / 1.486 GB, free: 9.227 MB / 1.186 GB Notification: Performance of SimCode: time 4.01e-07/0.6366, allocations: 0 / 1.486 GB, free: 9.227 MB / 1.186 GB Notification: Performance of Templates: time 0.006416/0.6431, allocations: 2.388 MB / 1.488 GB, free: 6.875 MB / 1.186 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 -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/jenkins/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.919170982204378]