Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.001431/0.001431, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001661/0.001661, allocations: 159.8 kB / 23.01 MB, free: 4.602 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.539/1.539, allocations: 177.2 MB / 203.4 MB, free: 9 MB / 190.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 2.895/2.895, allocations: 377.9 MB / 0.6228 GB, free: 12.68 MB / 0.5919 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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [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.00216/0.00216, allocations: 67.89 kB / 0.982 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313/1.315, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2313/1.546, allocations: 153.7 MB / 1.304 GB, free: 9.738 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01089/1.557, allocations: 8.654 MB / 1.312 GB, free: 3.051 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000445/1.557, allocations: 15.34 kB / 1.313 GB, free: 3.043 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007364/1.558, allocations: 196.8 kB / 1.313 GB, free: 2.875 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003305/1.558, allocations: 97.53 kB / 1.313 GB, free: 2.793 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/1.559, allocations: 64.39 kB / 1.313 GB, free: 2.738 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004801/1.559, allocations: 324.1 kB / 1.313 GB, free: 2.551 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/1.559, allocations: 136.7 kB / 1.313 GB, free: 2.457 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004138/1.56, allocations: 172.1 kB / 1.313 GB, free: 2.359 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/1.56, allocations: 107.2 kB / 1.314 GB, free: 2.293 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/1.56, allocations: 20.59 kB / 1.314 GB, free: 2.293 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 4.749e-05/1.56, allocations: 22.03 kB / 1.314 GB, free: 2.293 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/1.56, allocations: 76.5 kB / 1.314 GB, free: 2.238 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/1.56, allocations: 109 kB / 1.314 GB, free: 2.172 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004104/1.561, allocations: 298.4 kB / 1.314 GB, free: 1.961 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/1.561, allocations: 4 kB / 1.314 GB, free: 1.957 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.104e-06/1.561, allocations: 4 kB / 1.314 GB, free: 1.953 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.436e-06/1.561, allocations: 1.219 kB / 1.314 GB, free: 1.953 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006332/1.561, allocations: 458 kB / 1.314 GB, free: 1.543 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/1.561, allocations: 9.656 kB / 1.315 GB, free: 1.543 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/1.562, allocations: 34.91 kB / 1.315 GB, free: 1.523 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/1.562, allocations: 216.4 kB / 1.315 GB, free: 1.324 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/1.562, allocations: 19.59 kB / 1.315 GB, free: 1.316 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/1.562, allocations: 24.81 kB / 1.315 GB, free: 1.309 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005608/1.563, allocations: 324.3 kB / 1.315 GB, free: 1.051 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/1.563, allocations: 1.125 kB / 1.315 GB, free: 1.051 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/1.563, allocations: 11.25 kB / 1.315 GB, free: 1.043 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/1.563, allocations: 8.344 kB / 1.315 GB, free: 1.043 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/1.563, allocations: 142.2 kB / 1.315 GB, free: 0.9727 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/1.565, allocations: 1.63 MB / 1.317 GB, free: 15.39 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/1.565, allocations: 171.4 kB / 1.317 GB, free: 15.21 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/1.565, allocations: 88.14 kB / 1.317 GB, free: 15.12 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/1.565, allocations: 76.44 kB / 1.317 GB, free: 15.05 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.118e-05/1.565, allocations: 110.9 kB / 1.317 GB, free: 14.93 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/1.565, allocations: 1.125 kB / 1.317 GB, free: 14.93 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001038/1.565, allocations: 38.03 kB / 1.317 GB, free: 14.89 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/1.565, allocations: 127.9 kB / 1.317 GB, free: 14.76 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/1.565, allocations: 166.2 kB / 1.318 GB, free: 14.62 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/1.565, allocations: 25.7 kB / 1.318 GB, free: 14.59 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/1.566, allocations: 193.6 kB / 1.318 GB, free: 14.41 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-06/1.566, allocations: 0 / 1.318 GB, free: 14.41 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/1.566, allocations: 26.22 kB / 1.318 GB, free: 14.38 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002027/1.566, allocations: 322.3 kB / 1.318 GB, free: 14.06 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/1.566, allocations: 6.375 kB / 1.318 GB, free: 14.06 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.617e-05/1.566, allocations: 35.05 kB / 1.318 GB, free: 14.02 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.307e-05/1.566, allocations: 45.44 kB / 1.318 GB, free: 13.96 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.566, allocations: 1.156 kB / 1.318 GB, free: 13.96 MB / 1.17 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000175/1.566, allocations: 71.45 kB / 1.318 GB, free: 13.91 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.566, allocations: 9.75 kB / 1.318 GB, free: 13.91 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.566, allocations: 1.094 kB / 1.318 GB, free: 13.91 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.566, allocations: 2 kB / 1.318 GB, free: 13.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/1.566, allocations: 7.719 kB / 1.318 GB, free: 13.91 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/1.566, allocations: 1.188 kB / 1.318 GB, free: 13.91 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/1.566, allocations: 11.02 kB / 1.318 GB, free: 13.9 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/1.566, allocations: 2.625 kB / 1.318 GB, free: 13.9 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0002013/1.566, allocations: 221.4 kB / 1.319 GB, free: 13.69 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.522e-05/1.567, allocations: 116.8 kB / 1.319 GB, free: 13.57 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/1.567, allocations: 122.7 kB / 1.319 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/1.567, allocations: 181.6 kB / 1.319 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.484e-05/1.567, allocations: 177.5 kB / 1.319 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/1.567, allocations: 181.7 kB / 1.319 GB, free: 12.9 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/1.567, allocations: 430.4 kB / 1.32 GB, free: 12.48 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.445e-05/1.567, allocations: 106.2 kB / 1.32 GB, free: 12.37 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/1.567, allocations: 104.9 kB / 1.32 GB, free: 12.26 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.473e-05/1.568, allocations: 182.4 kB / 1.32 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/1.568, allocations: 185.4 kB / 1.32 GB, free: 11.89 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001064/1.568, allocations: 185.7 kB / 1.32 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001217/1.568, allocations: 177.7 kB / 1.321 GB, free: 11.52 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/1.568, allocations: 320.8 kB / 1.321 GB, free: 11.19 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/1.568, allocations: 111.6 kB / 1.321 GB, free: 11.08 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.823e-05/1.568, allocations: 186.3 kB / 1.321 GB, free: 10.89 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/1.568, allocations: 101.9 kB / 1.321 GB, free: 10.79 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/1.568, allocations: 181.1 kB / 1.321 GB, free: 10.6 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/1.569, allocations: 106.2 kB / 1.322 GB, free: 10.49 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001143/1.569, allocations: 121.3 kB / 1.322 GB, free: 10.4 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.569, allocations: 0 / 1.322 GB, free: 10.4 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000343/1.569, allocations: 44.88 kB / 1.322 GB, free: 10.38 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.0001623/1.569, allocations: 175.2 kB / 1.322 GB, free: 10.21 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 9.291e-05/1.569, allocations: 15.94 kB / 1.322 GB, free: 10.21 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.569, allocations: 1.156 kB / 1.322 GB, free: 10.21 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/1.569, allocations: 0 / 1.322 GB, free: 10.21 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/1.57, allocations: 467.7 kB / 1.322 GB, free: 9.75 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007316/1.57, allocations: 426.8 kB / 1.323 GB, free: 9.418 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/1.571, allocations: 146.1 kB / 1.323 GB, free: 9.305 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.465e-05/1.571, allocations: 4.969 kB / 1.323 GB, free: 9.305 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/1.571, allocations: 14.88 kB / 1.323 GB, free: 9.293 MB / 1.17 GB Notification: Performance of SimCode: time 3.2e-07/1.571, allocations: 0 / 1.323 GB, free: 9.293 MB / 1.17 GB Notification: Performance of Templates: time 0.003111/1.574, allocations: 301 kB / 1.323 GB, free: 9.121 MB / 1.17 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.100275522097945]