Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 105.4 kB / 15.98 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.001111, allocations: 199.3 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 390.2 MB / 0.665 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.81 kB / 0.8127 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3024, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.7972/1.1, allocations: 171.7 MB / 1.117 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009999/1.11, allocations: 9.426 MB / 1.127 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005171/1.11, allocations: 9.094 kB / 1.127 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000683/1.111, allocations: 164.8 kB / 1.127 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003204/1.111, allocations: 87.67 kB / 1.127 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/1.111, allocations: 54.41 kB / 1.127 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00045/1.112, allocations: 323.9 kB / 1.127 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/1.112, allocations: 202.1 kB / 1.127 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003974/1.113, allocations: 169 kB / 1.128 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/1.113, allocations: 124.8 kB / 1.128 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/1.113, allocations: 24.66 kB / 1.128 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.773e-05/1.113, allocations: 22.16 kB / 1.128 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/1.113, allocations: 73.2 kB / 1.128 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/1.113, allocations: 127.8 kB / 1.128 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/1.114, allocations: 221.7 kB / 1.128 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.114, allocations: 0 / 1.128 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/1.114, allocations: 1.625 kB / 1.128 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.814e-06/1.114, allocations: 0 / 1.128 GB, free: 5.234 MB / 0.8575 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.0008361/1.115, allocations: 0.5089 MB / 1.129 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.115, allocations: 15.2 kB / 1.129 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/1.115, allocations: 31.75 kB / 1.129 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/1.115, allocations: 265.2 kB / 1.129 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/1.115, allocations: 21.53 kB / 1.129 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/1.115, allocations: 30.33 kB / 1.129 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/1.116, allocations: 327.2 kB / 1.129 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/1.116, allocations: 0.6094 kB / 1.129 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/1.116, allocations: 14.19 kB / 1.129 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/1.116, allocations: 6.5 kB / 1.129 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/1.116, allocations: 143.6 kB / 1.13 GB, free: 20.42 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/1.117, allocations: 1.813 MB / 1.131 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.616e-05/1.117, allocations: 174.8 kB / 1.131 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/1.118, allocations: 81.45 kB / 1.132 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/1.118, allocations: 75.28 kB / 1.132 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/1.118, allocations: 111.9 kB / 1.132 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/1.118, allocations: 4 kB / 1.132 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001032/1.118, allocations: 60.36 kB / 1.132 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/1.118, allocations: 127.7 kB / 1.132 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/1.118, allocations: 371.8 kB / 1.132 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/1.118, allocations: 26.31 kB / 1.132 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/1.118, allocations: 168.2 kB / 1.132 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/1.118, allocations: 4.953 kB / 1.132 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/1.118, allocations: 15.31 kB / 1.132 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.119, allocations: 343.2 kB / 1.133 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/1.119, allocations: 7.047 kB / 1.133 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/1.119, allocations: 38.06 kB / 1.133 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.496e-05/1.119, allocations: 48 kB / 1.133 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.119, allocations: 0 / 1.133 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001689/1.119, allocations: 88.31 kB / 1.133 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.119, allocations: 5.406 kB / 1.133 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.119, allocations: 1.953 kB / 1.133 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.119, allocations: 2.156 kB / 1.133 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/1.119, allocations: 17.47 kB / 1.133 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.119, allocations: 2.219 kB / 1.133 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.346e-05/1.119, allocations: 27.22 kB / 1.133 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/1.119, allocations: 3.062 kB / 1.133 GB, free: 17.57 MB / 0.8731 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.0001477/1.119, allocations: 211.8 kB / 1.133 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.742e-05/1.119, allocations: 132.9 kB / 1.133 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.373e-05/1.12, allocations: 130.5 kB / 1.133 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.15e-05/1.12, allocations: 182.1 kB / 1.134 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.502e-05/1.12, allocations: 184.1 kB / 1.134 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.028e-05/1.12, allocations: 180.6 kB / 1.134 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/1.12, allocations: 488.5 kB / 1.134 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-05/1.12, allocations: 105.2 kB / 1.135 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/1.12, allocations: 112.3 kB / 1.135 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.675e-05/1.12, allocations: 184.8 kB / 1.135 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/1.12, allocations: 184.2 kB / 1.135 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.824e-05/1.12, allocations: 177 kB / 1.135 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001063/1.121, allocations: 180.6 kB / 1.135 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/1.121, allocations: 335.5 kB / 1.136 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/1.121, allocations: 219.3 kB / 1.136 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.119e-05/1.121, allocations: 178.7 kB / 1.136 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/1.121, allocations: 105.6 kB / 1.136 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/1.121, allocations: 185.4 kB / 1.136 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/1.121, allocations: 106.2 kB / 1.136 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002913/1.122, allocations: 266.4 kB / 1.137 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.122, allocations: 0 / 1.137 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003043/1.122, allocations: 35.34 kB / 1.137 GB, free: 14.01 MB / 0.8731 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.0001576/1.122, allocations: 179.2 kB / 1.137 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.611e-05/1.122, allocations: 12.86 kB / 1.137 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.122, allocations: 320 / 1.137 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.528e-06/1.122, allocations: 10 kB / 1.137 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009722/1.123, allocations: 0.5406 MB / 1.137 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008657/1.124, allocations: 0.5272 MB / 1.138 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/1.124, allocations: 0.751 MB / 1.139 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/1.125, allocations: 20.56 kB / 1.139 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.125, allocations: 0 / 1.139 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.006258/1.131, allocations: 3.114 MB / 1.142 GB, free: 12.05 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches