Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001812/0.001812, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002512/0.002512, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.713/1.713, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.736/3.736, allocations: 0.5096 GB / 0.8147 GB, free: 17.2 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002134/0.002134, allocations: 67.19 kB / 1.184 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5301, allocations: 181.4 MB / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2966/0.8267, allocations: 177.8 MB / 1.535 GB, free: 13.84 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.8383, allocations: 9.655 MB / 1.545 GB, free: 4.148 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004598/0.8388, allocations: 11.94 kB / 1.545 GB, free: 4.137 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.0007363/0.8395, allocations: 190.7 kB / 1.545 GB, free: 3.949 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.8398, allocations: 95.31 kB / 1.545 GB, free: 3.855 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.8401, allocations: 63.86 kB / 1.545 GB, free: 3.793 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.0004996/0.8406, allocations: 334.6 kB / 1.545 GB, free: 3.465 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.8409, allocations: 133.4 kB / 1.545 GB, free: 3.336 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.8414, allocations: 183.4 kB / 1.545 GB, free: 3.156 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.8415, allocations: 123.4 kB / 1.546 GB, free: 3.035 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.8416, allocations: 24 kB / 1.546 GB, free: 3.012 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 4.642e-05/0.8416, allocations: 23.94 kB / 1.546 GB, free: 2.988 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.8417, allocations: 75.75 kB / 1.546 GB, free: 2.914 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.8419, allocations: 127.4 kB / 1.546 GB, free: 2.789 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.8423, allocations: 306.5 kB / 1.546 GB, free: 2.488 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8423, allocations: 0 / 1.546 GB, free: 2.488 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8423, allocations: 0 / 1.546 GB, free: 2.488 MB / 1.232 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.8423, allocations: 0 / 1.546 GB, free: 2.488 MB / 1.232 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.0006324/0.843, allocations: 457.6 kB / 1.547 GB, free: 2.012 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.843, allocations: 8.031 kB / 1.547 GB, free: 2.004 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.8431, allocations: 35.75 kB / 1.547 GB, free: 1.969 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005011/0.8436, allocations: 210.8 kB / 1.547 GB, free: 1.738 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.8436, allocations: 20.66 kB / 1.547 GB, free: 1.719 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.8437, allocations: 31.94 kB / 1.547 GB, free: 1.688 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/0.8442, allocations: 325.2 kB / 1.547 GB, free: 1.324 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.8442, allocations: 0 / 1.547 GB, free: 1.324 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.8442, allocations: 12 kB / 1.547 GB, free: 1.312 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.8443, allocations: 12 kB / 1.547 GB, free: 1.301 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.8445, allocations: 139.7 kB / 1.547 GB, free: 1.164 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.8463, allocations: 1.784 MB / 1.549 GB, free: 15.29 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.8464, allocations: 169.1 kB / 1.549 GB, free: 15.11 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/0.8464, allocations: 80.14 kB / 1.549 GB, free: 15.03 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.8465, allocations: 79.22 kB / 1.549 GB, free: 14.95 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.8465, allocations: 109.8 kB / 1.549 GB, free: 14.84 MB / 1.248 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.8465, allocations: 0 / 1.549 GB, free: 14.84 MB / 1.248 GB Notification: Performance of matching and sorting (n=0): time 0.0001115/0.8466, allocations: 61.45 kB / 1.55 GB, free: 14.77 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/0.8467, allocations: 130.7 kB / 1.55 GB, free: 14.63 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.8472, allocations: 369.8 kB / 1.55 GB, free: 14.26 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.8472, allocations: 29.64 kB / 1.55 GB, free: 14.22 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.8474, allocations: 167.9 kB / 1.55 GB, free: 14.05 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-06/0.8474, allocations: 8 kB / 1.55 GB, free: 14.05 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.8474, allocations: 13.72 kB / 1.55 GB, free: 14.03 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002075/0.8476, allocations: 338.8 kB / 1.551 GB, free: 13.69 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.8476, allocations: 4 kB / 1.551 GB, free: 13.68 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.8477, allocations: 36.28 kB / 1.551 GB, free: 13.63 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.363e-05/0.8477, allocations: 44.23 kB / 1.551 GB, free: 13.57 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8477, allocations: 0 / 1.551 GB, free: 13.57 MB / 1.248 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001708/0.8479, allocations: 97.31 kB / 1.551 GB, free: 13.47 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.8479, allocations: 8.156 kB / 1.551 GB, free: 13.46 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.8479, allocations: 4 kB / 1.551 GB, free: 13.46 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.848, allocations: 3.938 kB / 1.551 GB, free: 13.46 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-05/0.848, allocations: 8 kB / 1.551 GB, free: 13.45 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.848, allocations: 7.938 kB / 1.551 GB, free: 13.44 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.064e-05/0.8481, allocations: 23.73 kB / 1.551 GB, free: 13.42 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.8481, allocations: 4 kB / 1.551 GB, free: 13.41 MB / 1.248 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.0001819/0.8483, allocations: 209.1 kB / 1.551 GB, free: 13.2 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.8484, allocations: 144.7 kB / 1.551 GB, free: 13.05 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.306e-05/0.8485, allocations: 134.6 kB / 1.551 GB, free: 12.91 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-05/0.8486, allocations: 176.3 kB / 1.551 GB, free: 12.73 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001081/0.8487, allocations: 188.2 kB / 1.552 GB, free: 12.54 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/0.8488, allocations: 184.3 kB / 1.552 GB, free: 12.35 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.8493, allocations: 464.2 kB / 1.552 GB, free: 11.85 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.664e-05/0.8494, allocations: 112.9 kB / 1.552 GB, free: 11.73 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.8495, allocations: 101 kB / 1.552 GB, free: 11.62 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.286e-05/0.8496, allocations: 180.2 kB / 1.553 GB, free: 11.44 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-05/0.8497, allocations: 180.3 kB / 1.553 GB, free: 11.26 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-05/0.8498, allocations: 176.3 kB / 1.553 GB, free: 11.08 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.897e-05/0.8499, allocations: 184.3 kB / 1.553 GB, free: 10.89 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.8501, allocations: 335.6 kB / 1.553 GB, free: 10.54 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.8502, allocations: 136.7 kB / 1.554 GB, free: 10.4 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.8503, allocations: 180.3 kB / 1.554 GB, free: 10.21 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.8505, allocations: 108.9 kB / 1.554 GB, free: 10.1 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.8506, allocations: 184.2 kB / 1.554 GB, free: 9.914 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.8506, allocations: 104.9 kB / 1.554 GB, free: 9.805 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0002992/0.8509, allocations: 271.1 kB / 1.554 GB, free: 9.547 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.8509, allocations: 0 / 1.554 GB, free: 9.547 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0002824/0.8512, allocations: 32 kB / 1.554 GB, free: 9.516 MB / 1.248 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.0001578/0.8514, allocations: 170.5 kB / 1.555 GB, free: 9.336 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 9.913e-05/0.8515, allocations: 19.92 kB / 1.555 GB, free: 9.316 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8515, allocations: 0 / 1.555 GB, free: 9.316 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 4.578e-06/0.8515, allocations: 4 kB / 1.555 GB, free: 9.312 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000918/0.8524, allocations: 0.557 MB / 1.555 GB, free: 8.75 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007611/0.8531, allocations: 449.2 kB / 1.556 GB, free: 8.289 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.8536, allocations: 0.7558 MB / 1.556 GB, free: 7.508 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 9.799e-05/0.8537, allocations: 30.97 kB / 1.556 GB, free: 7.477 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.8538, allocations: 23.38 kB / 1.556 GB, free: 7.453 MB / 1.248 GB Notification: Performance of SimCode: time 4.5e-07/0.8538, allocations: 0 / 1.556 GB, free: 7.453 MB / 1.248 GB Notification: Performance of Templates: time 0.007889/0.8617, allocations: 3.215 MB / 1.559 GB, free: 4.277 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.346801451407373]