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.001959/0.001959, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002792/0.002792, allocations: 211.1 kB / 23.01 MB, free: 4.57 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.28/3.28, allocations: 0.49 GB / 0.7958 GB, free: 33.53 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.001997/0.001997, allocations: 66.52 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.412, allocations: 176.1 MB / 1.327 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.2123/0.6243, allocations: 151.6 MB / 1.475 GB, free: 9.188 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005959/0.6303, allocations: 4.765 MB / 1.48 GB, free: 4.402 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.6306, allocations: 15.88 kB / 1.48 GB, free: 4.387 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.6312, allocations: 162.9 kB / 1.48 GB, free: 4.227 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.6315, allocations: 95.42 kB / 1.48 GB, free: 4.133 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.6317, allocations: 75.73 kB / 1.48 GB, free: 4.059 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004271/0.6321, allocations: 290.9 kB / 1.481 GB, free: 3.773 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.6324, allocations: 112.1 kB / 1.481 GB, free: 3.668 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.6326, allocations: 115.5 kB / 1.481 GB, free: 3.555 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.6328, allocations: 159.4 kB / 1.481 GB, free: 3.398 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.6329, allocations: 20 kB / 1.481 GB, free: 3.379 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 4.141e-05/0.6329, allocations: 16 kB / 1.481 GB, free: 3.363 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.633, allocations: 63.77 kB / 1.481 GB, free: 3.301 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.6331, allocations: 107.5 kB / 1.481 GB, free: 3.195 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.6335, allocations: 230.9 kB / 1.481 GB, free: 2.969 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6335, allocations: 0 / 1.481 GB, free: 2.969 MB / 1.17 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6335, allocations: 0 / 1.481 GB, free: 2.969 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.6335, allocations: 0 / 1.481 GB, free: 2.969 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.0005535/0.634, allocations: 429.7 kB / 1.482 GB, free: 2.52 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6341, allocations: 8.031 kB / 1.482 GB, free: 2.512 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.6341, allocations: 32.8 kB / 1.482 GB, free: 2.48 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.6345, allocations: 211.1 kB / 1.482 GB, free: 2.25 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.6346, allocations: 16.81 kB / 1.482 GB, free: 2.234 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.6346, allocations: 20.38 kB / 1.482 GB, free: 2.215 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.635, allocations: 309 kB / 1.482 GB, free: 1.855 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.6351, allocations: 0 / 1.482 GB, free: 1.855 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.6351, allocations: 12 kB / 1.482 GB, free: 1.844 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.6351, allocations: 4 kB / 1.482 GB, free: 1.84 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.6353, allocations: 131.6 kB / 1.482 GB, free: 1.711 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.6369, allocations: 1.923 MB / 1.484 GB, free: 15.69 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.637, allocations: 173.1 kB / 1.484 GB, free: 15.51 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.637, allocations: 88.14 kB / 1.485 GB, free: 15.42 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.447e-05/0.6371, allocations: 75.31 kB / 1.485 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.6371, allocations: 109.8 kB / 1.485 GB, free: 15.23 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.6371, allocations: 0 / 1.485 GB, free: 15.23 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 9.732e-05/0.6372, allocations: 53.5 kB / 1.485 GB, free: 15.17 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.6373, allocations: 130.6 kB / 1.485 GB, free: 15.03 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.6377, allocations: 336.5 kB / 1.485 GB, free: 14.68 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.6377, allocations: 29.64 kB / 1.485 GB, free: 14.65 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.6378, allocations: 167.8 kB / 1.485 GB, free: 14.48 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.6379, allocations: 0 / 1.485 GB, free: 14.48 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.6379, allocations: 25.7 kB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.6381, allocations: 334.8 kB / 1.486 GB, free: 14.11 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.6381, allocations: 4 kB / 1.486 GB, free: 14.11 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.6381, allocations: 58.86 kB / 1.486 GB, free: 14.03 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.6383, allocations: 74.75 kB / 1.486 GB, free: 13.93 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6383, allocations: 0 / 1.486 GB, free: 13.93 MB / 1.186 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001862/0.6384, allocations: 101.4 kB / 1.486 GB, free: 13.82 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6385, allocations: 8.234 kB / 1.486 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.6385, allocations: 8 kB / 1.486 GB, free: 13.81 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.6385, allocations: 3.938 kB / 1.486 GB, free: 13.8 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.6386, allocations: 12 kB / 1.486 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.6386, allocations: 4 kB / 1.486 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.86e-05/0.6386, allocations: 31.73 kB / 1.486 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.6387, allocations: 4 kB / 1.486 GB, free: 13.75 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.0001606/0.6388, allocations: 213.6 kB / 1.486 GB, free: 13.54 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.644e-05/0.6389, allocations: 124.8 kB / 1.486 GB, free: 13.41 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.37e-05/0.639, allocations: 133.8 kB / 1.486 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-05/0.6391, allocations: 180.2 kB / 1.487 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-05/0.6392, allocations: 176.3 kB / 1.487 GB, free: 12.9 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.68e-05/0.6393, allocations: 184.3 kB / 1.487 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.6396, allocations: 452.2 kB / 1.487 GB, free: 12.22 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.614e-05/0.6397, allocations: 108.9 kB / 1.488 GB, free: 12.11 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.6397, allocations: 108.9 kB / 1.488 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.501e-05/0.6398, allocations: 176.3 kB / 1.488 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.425e-05/0.6399, allocations: 184.1 kB / 1.488 GB, free: 11.63 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.754e-05/0.64, allocations: 184.2 kB / 1.488 GB, free: 11.44 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.29e-05/0.6401, allocations: 188.2 kB / 1.488 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.6403, allocations: 323.7 kB / 1.489 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.6404, allocations: 132.8 kB / 1.489 GB, free: 10.77 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.6405, allocations: 184.2 kB / 1.489 GB, free: 10.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.6406, allocations: 104.9 kB / 1.489 GB, free: 10.48 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.911e-05/0.6407, allocations: 184.2 kB / 1.489 GB, free: 10.29 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/0.6408, allocations: 105 kB / 1.489 GB, free: 10.18 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002574/0.641, allocations: 239 kB / 1.49 GB, free: 9.949 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.641, allocations: 0 / 1.49 GB, free: 9.949 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002934/0.6413, allocations: 31.88 kB / 1.49 GB, free: 9.918 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.0001692/0.6415, allocations: 170.5 kB / 1.49 GB, free: 9.742 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.6416, allocations: 27.92 kB / 1.49 GB, free: 9.715 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6416, allocations: 0 / 1.49 GB, free: 9.715 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.6416, allocations: 3.938 kB / 1.49 GB, free: 9.711 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007738/0.6424, allocations: 0.5087 MB / 1.49 GB, free: 9.195 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006842/0.6431, allocations: 445.6 kB / 1.491 GB, free: 8.723 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.6435, allocations: 0.744 MB / 1.491 GB, free: 7.953 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.6435, allocations: 19.44 kB / 1.491 GB, free: 7.934 MB / 1.186 GB Notification: Performance of SimCode: time 2.91e-07/0.6435, allocations: 0 / 1.491 GB, free: 7.934 MB / 1.186 GB Notification: Performance of Templates: time 0.005085/0.6486, allocations: 2.632 MB / 1.494 GB, free: 5.316 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/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: 12.684082238993142]