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.0008909/0.0008909, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008673/0.0008673, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8904/0.8904, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.757/1.757, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.784e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6315/0.6315, allocations: 153.6 MB / 1.132 GB, free: 9.301 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005914/0.6374, allocations: 8.604 MB / 1.141 GB, free: 3.523 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.6376, allocations: 10.81 kB / 1.141 GB, free: 3.52 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.6381, allocations: 202.6 kB / 1.141 GB, free: 3.383 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.6383, allocations: 94.48 kB / 1.141 GB, free: 3.32 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.6385, allocations: 69.59 kB / 1.141 GB, free: 3.281 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.6388, allocations: 342.4 kB / 1.141 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.6391, allocations: 131.6 kB / 1.141 GB, free: 3.039 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/0.6395, allocations: 227.4 kB / 1.142 GB, free: 2.945 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.6396, allocations: 96.06 kB / 1.142 GB, free: 2.91 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.6396, allocations: 22.66 kB / 1.142 GB, free: 2.91 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.651e-05/0.6396, allocations: 22.19 kB / 1.142 GB, free: 2.91 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.787e-05/0.6397, allocations: 80.34 kB / 1.142 GB, free: 2.867 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.6398, allocations: 87.34 kB / 1.142 GB, free: 2.828 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.6401, allocations: 293 kB / 1.142 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6401, allocations: 0 / 1.142 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6401, allocations: 0.7969 kB / 1.142 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.6401, allocations: 1.125 kB / 1.142 GB, free: 2.707 MB / 0.9948 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.0003923/0.6405, allocations: 451.3 kB / 1.143 GB, free: 2.328 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.6406, allocations: 9.922 kB / 1.143 GB, free: 2.328 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.6406, allocations: 34.25 kB / 1.143 GB, free: 2.309 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.6409, allocations: 225.4 kB / 1.143 GB, free: 2.121 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.6409, allocations: 18.81 kB / 1.143 GB, free: 2.113 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.641, allocations: 25.25 kB / 1.143 GB, free: 2.105 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.6413, allocations: 321.9 kB / 1.143 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.6413, allocations: 6.172 kB / 1.143 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.6413, allocations: 13.91 kB / 1.143 GB, free: 1.875 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.6414, allocations: 8.062 kB / 1.143 GB, free: 1.875 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.6415, allocations: 143.8 kB / 1.143 GB, free: 1.82 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006627/0.6422, allocations: 1.618 MB / 1.145 GB, free: 324 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.8e-05/0.6422, allocations: 166.4 kB / 1.145 GB, free: 148 kB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.2e-05/0.6422, allocations: 84.94 kB / 1.145 GB, free: 60 kB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.6423, allocations: 76.66 kB / 1.145 GB, free: 15.98 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.6423, allocations: 111 kB / 1.145 GB, free: 15.87 MB / 1.01 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.6423, allocations: 0 / 1.145 GB, free: 15.87 MB / 1.01 GB Notification: Performance of matching and sorting (n=0): time 6.312e-05/0.6424, allocations: 43.2 kB / 1.145 GB, free: 15.82 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.6424, allocations: 132.5 kB / 1.146 GB, free: 15.68 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.6425, allocations: 159.7 kB / 1.146 GB, free: 15.56 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.6425, allocations: 25.7 kB / 1.146 GB, free: 15.53 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.6426, allocations: 197 kB / 1.146 GB, free: 15.37 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.6427, allocations: 0 / 1.146 GB, free: 15.37 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.6427, allocations: 23.31 kB / 1.146 GB, free: 15.34 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.983e-05/0.6428, allocations: 323.4 kB / 1.146 GB, free: 15.03 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.6428, allocations: 4.609 kB / 1.146 GB, free: 15.03 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.49e-05/0.6428, allocations: 33.06 kB / 1.146 GB, free: 14.98 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.784e-05/0.6429, allocations: 54.73 kB / 1.146 GB, free: 14.93 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.6429, allocations: 0 / 1.146 GB, free: 14.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001154/0.643, allocations: 64.97 kB / 1.146 GB, free: 14.88 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.643, allocations: 7.969 kB / 1.146 GB, free: 14.88 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.643, allocations: 2.031 kB / 1.146 GB, free: 14.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.643, allocations: 2.172 kB / 1.146 GB, free: 14.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.6431, allocations: 16.38 kB / 1.146 GB, free: 14.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.6431, allocations: 5.844 kB / 1.146 GB, free: 14.87 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.6431, allocations: 10.25 kB / 1.146 GB, free: 14.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.6431, allocations: 2.531 kB / 1.146 GB, free: 14.86 MB / 1.01 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.0001027/0.6432, allocations: 211 kB / 1.147 GB, free: 14.66 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.6432, allocations: 110.8 kB / 1.147 GB, free: 14.55 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.6433, allocations: 120.4 kB / 1.147 GB, free: 14.44 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.245e-05/0.6433, allocations: 177.5 kB / 1.147 GB, free: 14.26 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.732e-05/0.6434, allocations: 186.4 kB / 1.147 GB, free: 14.07 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.436e-05/0.6434, allocations: 178.2 kB / 1.147 GB, free: 13.89 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.6436, allocations: 425.3 kB / 1.148 GB, free: 13.49 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-05/0.6436, allocations: 111 kB / 1.148 GB, free: 13.38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.6437, allocations: 101.5 kB / 1.148 GB, free: 13.27 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.555e-05/0.6437, allocations: 182.4 kB / 1.148 GB, free: 13.09 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.6438, allocations: 178.2 kB / 1.148 GB, free: 12.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.484e-05/0.6438, allocations: 191.2 kB / 1.149 GB, free: 12.72 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-05/0.6439, allocations: 178.3 kB / 1.149 GB, free: 12.54 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.644, allocations: 318.6 kB / 1.149 GB, free: 12.21 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.644, allocations: 112.6 kB / 1.149 GB, free: 12.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.271e-05/0.644, allocations: 187.9 kB / 1.149 GB, free: 11.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.777e-05/0.6441, allocations: 101.6 kB / 1.149 GB, free: 11.81 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.6441, allocations: 182.4 kB / 1.15 GB, free: 11.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.6442, allocations: 112 kB / 1.15 GB, free: 11.51 MB / 1.01 GB Notification: Performance of sorting global known variables: time 6.559e-05/0.6442, allocations: 119.9 kB / 1.15 GB, free: 11.43 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6442, allocations: 0 / 1.15 GB, free: 11.43 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001744/0.6444, allocations: 45.78 kB / 1.15 GB, free: 11.41 MB / 1.01 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.0001023/0.6445, allocations: 170.7 kB / 1.15 GB, free: 11.25 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 6.655e-05/0.6446, allocations: 17.83 kB / 1.15 GB, free: 11.24 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6446, allocations: 1.188 kB / 1.15 GB, free: 11.24 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.6446, allocations: 320 / 1.15 GB, free: 11.24 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.6448, allocations: 465.6 kB / 1.15 GB, free: 10.79 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.6453, allocations: 462 kB / 1.151 GB, free: 10.44 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.6457, allocations: 144.7 kB / 1.151 GB, free: 10.36 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.6458, allocations: 11.88 kB / 1.151 GB, free: 10.35 MB / 1.01 GB Notification: Performance of SimCode: time 7.01e-07/0.6458, allocations: 0.9375 kB / 1.151 GB, free: 10.35 MB / 1.01 GB Notification: Performance of Templates: time 0.002827/0.6486, allocations: 1.779 MB / 1.153 GB, free: 10.16 MB / 1.01 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 7.253906633704901]