Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001562/0.001562, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.001891/0.001891, allocations: 166.9 kB / 22.46 MB, free: 5.371 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.6/1.6, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.969/2.969, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.878e-06/3.878e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 6.357e-05/6.745e-05, allocations: 2.281 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2434/0.2435, allocations: 153.6 MB / 1.101 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.9808/1.224, allocations: 8.595 MB / 1.109 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004302/1.225, allocations: 11.25 kB / 1.109 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007332/1.225, allocations: 200.8 kB / 1.11 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003484/1.226, allocations: 99.2 kB / 1.11 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/1.226, allocations: 70.39 kB / 1.11 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006188/1.227, allocations: 337.6 kB / 1.11 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/1.227, allocations: 128.3 kB / 1.11 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006166/1.228, allocations: 236.8 kB / 1.11 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/1.228, allocations: 94.77 kB / 1.111 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.828e-05/1.228, allocations: 22.47 kB / 1.111 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.837e-05/1.228, allocations: 21.78 kB / 1.111 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/1.228, allocations: 80.88 kB / 1.111 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001922/1.228, allocations: 83.27 kB / 1.111 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006299/1.229, allocations: 292.2 kB / 1.111 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/1.229, allocations: 2.031 kB / 1.111 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.635e-06/1.229, allocations: 0 / 1.111 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.945e-05/1.229, allocations: 2.062 kB / 1.111 GB, free: 12.45 MB / 0.9981 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.0007313/1.23, allocations: 452.8 kB / 1.111 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/1.23, allocations: 8.75 kB / 1.111 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/1.23, allocations: 33.83 kB / 1.111 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/1.23, allocations: 219 kB / 1.112 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/1.231, allocations: 20.06 kB / 1.112 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/1.231, allocations: 28.72 kB / 1.112 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/1.231, allocations: 326.3 kB / 1.112 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/1.231, allocations: 4.922 kB / 1.112 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/1.231, allocations: 11.19 kB / 1.112 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/1.231, allocations: 9.75 kB / 1.112 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/1.232, allocations: 139.8 kB / 1.112 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/1.233, allocations: 1.617 MB / 1.114 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.363e-05/1.233, allocations: 167.5 kB / 1.114 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/1.233, allocations: 88.36 kB / 1.114 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/1.233, allocations: 78.23 kB / 1.114 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/1.233, allocations: 107.8 kB / 1.114 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/1.233, allocations: 1 kB / 1.114 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.456e-05/1.233, allocations: 35.61 kB / 1.114 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/1.233, allocations: 127.2 kB / 1.114 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/1.233, allocations: 165 kB / 1.115 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/1.233, allocations: 27.02 kB / 1.115 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/1.233, allocations: 199.2 kB / 1.115 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-06/1.233, allocations: 3.969 kB / 1.115 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/1.233, allocations: 18.58 kB / 1.115 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.34e-05/1.233, allocations: 327 kB / 1.115 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/1.233, allocations: 2.859 kB / 1.115 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.364e-05/1.233, allocations: 36.08 kB / 1.115 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.223e-05/1.234, allocations: 43.12 kB / 1.115 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.234, allocations: 1.969 kB / 1.115 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001693/1.234, allocations: 74.12 kB / 1.115 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.234, allocations: 8.078 kB / 1.115 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.234, allocations: 1.531 kB / 1.115 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.234, allocations: 1.844 kB / 1.115 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/1.234, allocations: 9.594 kB / 1.115 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/1.234, allocations: 2.578 kB / 1.115 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.834e-05/1.234, allocations: 7.156 kB / 1.115 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/1.234, allocations: 7.281 kB / 1.115 GB, free: 9.07 MB / 0.9981 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.0001458/1.234, allocations: 215.5 kB / 1.115 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/1.234, allocations: 116.5 kB / 1.116 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/1.234, allocations: 118.9 kB / 1.116 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.942e-05/1.234, allocations: 182.7 kB / 1.116 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.123e-05/1.234, allocations: 188.1 kB / 1.116 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-05/1.234, allocations: 182.3 kB / 1.116 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/1.235, allocations: 427.8 kB / 1.117 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.394e-05/1.235, allocations: 107 kB / 1.117 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/1.235, allocations: 106.5 kB / 1.117 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.77e-05/1.235, allocations: 179.6 kB / 1.117 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.357e-05/1.235, allocations: 182.1 kB / 1.117 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.431e-05/1.235, allocations: 178.2 kB / 1.117 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-05/1.235, allocations: 186.6 kB / 1.118 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/1.235, allocations: 315.2 kB / 1.118 GB, free: 22.49 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/1.235, allocations: 111.7 kB / 1.118 GB, free: 22.38 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/1.235, allocations: 185.3 kB / 1.118 GB, free: 22.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/1.236, allocations: 103.9 kB / 1.118 GB, free: 22.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/1.236, allocations: 182.2 kB / 1.118 GB, free: 21.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/1.236, allocations: 103.8 kB / 1.118 GB, free: 21.81 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001392/1.236, allocations: 124.5 kB / 1.119 GB, free: 21.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.236, allocations: 1.625 kB / 1.119 GB, free: 21.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003374/1.236, allocations: 49.2 kB / 1.119 GB, free: 21.71 MB / 1.014 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.0001924/1.236, allocations: 171.6 kB / 1.119 GB, free: 21.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001063/1.236, allocations: 21.83 kB / 1.119 GB, free: 21.55 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.236, allocations: 3.109 kB / 1.119 GB, free: 21.55 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/1.236, allocations: 0 / 1.119 GB, free: 21.55 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/1.237, allocations: 464.6 kB / 1.119 GB, free: 21.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000765/1.238, allocations: 419.3 kB / 1.12 GB, free: 20.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/1.238, allocations: 143.5 kB / 1.12 GB, free: 20.74 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.002e-05/1.238, allocations: 8.828 kB / 1.12 GB, free: 20.74 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/1.238, allocations: 11.28 kB / 1.12 GB, free: 20.73 MB / 1.014 GB Notification: Performance of SimCode: time 4e-07/1.238, allocations: 1 kB / 1.12 GB, free: 20.73 MB / 1.014 GB Notification: Performance of Templates: time 0.003848/1.242, allocations: 311.8 kB / 1.12 GB, free: 20.7 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.056220635771751]