Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 102.2 kB / 16.27 MB, free: 6 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.001892/0.001892, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.357/2.357, allocations: 390.3 MB / 0.6653 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 64.62 kB / 0.8132 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.3001, allocations: 140.4 MB / 0.9503 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.7149/1.015, allocations: 148 MB / 1.095 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005048/1.02, allocations: 4.649 MB / 1.099 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/1.021, allocations: 10.59 kB / 1.099 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005335/1.021, allocations: 165.1 kB / 1.099 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003589/1.022, allocations: 82.61 kB / 1.1 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/1.022, allocations: 71.97 kB / 1.1 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004677/1.022, allocations: 307.4 kB / 1.1 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003446/1.023, allocations: 144.7 kB / 1.1 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/1.023, allocations: 114.7 kB / 1.1 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/1.023, allocations: 148.8 kB / 1.1 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/1.023, allocations: 16.34 kB / 1.1 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.695e-05/1.023, allocations: 16.56 kB / 1.1 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/1.023, allocations: 70.97 kB / 1.1 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/1.023, allocations: 107.7 kB / 1.101 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/1.024, allocations: 220 kB / 1.101 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/1.024, allocations: 1.656 kB / 1.101 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/1.024, allocations: 0 / 1.101 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.024, allocations: 0 / 1.101 GB, free: 6.75 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000818/1.025, allocations: 492.7 kB / 1.101 GB, free: 22.34 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.025, allocations: 13.97 kB / 1.101 GB, free: 22.34 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/1.025, allocations: 26.16 kB / 1.101 GB, free: 22.33 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/1.025, allocations: 258.4 kB / 1.101 GB, free: 22.11 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/1.025, allocations: 18.31 kB / 1.102 GB, free: 22.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/1.025, allocations: 21.94 kB / 1.102 GB, free: 22.11 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/1.026, allocations: 311.1 kB / 1.102 GB, free: 21.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/1.026, allocations: 2.406 kB / 1.102 GB, free: 21.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/1.026, allocations: 11.28 kB / 1.102 GB, free: 21.95 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/1.026, allocations: 7.609 kB / 1.102 GB, free: 21.95 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/1.026, allocations: 123.5 kB / 1.102 GB, free: 21.95 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/1.027, allocations: 1.971 MB / 1.104 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.686e-05/1.027, allocations: 171.1 kB / 1.104 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/1.027, allocations: 83.23 kB / 1.104 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/1.027, allocations: 78.61 kB / 1.104 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/1.027, allocations: 107.6 kB / 1.104 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.835e-06/1.027, allocations: 2.188 kB / 1.104 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.761e-05/1.028, allocations: 53.91 kB / 1.104 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/1.028, allocations: 128.1 kB / 1.104 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/1.028, allocations: 332.3 kB / 1.105 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/1.028, allocations: 26.39 kB / 1.105 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/1.028, allocations: 165.1 kB / 1.105 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-06/1.028, allocations: 1.125 kB / 1.105 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/1.028, allocations: 25.53 kB / 1.105 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.028, allocations: 335.5 kB / 1.105 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/1.028, allocations: 7.625 kB / 1.105 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.326e-05/1.028, allocations: 63.05 kB / 1.105 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.029e-05/1.029, allocations: 71.23 kB / 1.105 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.029, allocations: 1.906 kB / 1.105 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002069/1.029, allocations: 103.3 kB / 1.106 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.029, allocations: 7.281 kB / 1.106 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.029, allocations: 1.859 kB / 1.106 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.029, allocations: 7.906 kB / 1.106 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/1.029, allocations: 17.73 kB / 1.106 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.029, allocations: 5.969 kB / 1.106 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/1.029, allocations: 24.19 kB / 1.106 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/1.029, allocations: 4.984 kB / 1.106 GB, free: 18.86 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001451/1.029, allocations: 208.8 kB / 1.106 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/1.029, allocations: 133 kB / 1.106 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.027e-05/1.029, allocations: 122.8 kB / 1.106 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-05/1.029, allocations: 187 kB / 1.106 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.04e-05/1.029, allocations: 180.8 kB / 1.106 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.598e-05/1.03, allocations: 184.7 kB / 1.107 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/1.03, allocations: 475.7 kB / 1.107 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.311e-05/1.03, allocations: 107.3 kB / 1.107 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/1.03, allocations: 103.7 kB / 1.107 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.226e-05/1.03, allocations: 182.2 kB / 1.107 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.342e-05/1.03, allocations: 181.1 kB / 1.108 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.163e-05/1.03, allocations: 188.5 kB / 1.108 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-05/1.03, allocations: 181.8 kB / 1.108 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/1.03, allocations: 324.4 kB / 1.108 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/1.031, allocations: 208.2 kB / 1.108 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/1.031, allocations: 180.6 kB / 1.109 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/1.031, allocations: 112.2 kB / 1.109 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/1.031, allocations: 180.8 kB / 1.109 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/1.031, allocations: 107.9 kB / 1.109 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002615/1.031, allocations: 239.6 kB / 1.109 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.031, allocations: 0 / 1.109 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002912/1.031, allocations: 28.22 kB / 1.109 GB, free: 15.33 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.0001465/1.032, allocations: 172.8 kB / 1.109 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.599e-05/1.032, allocations: 28.73 kB / 1.109 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.032, allocations: 1.062 kB / 1.109 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/1.032, allocations: 1.547 kB / 1.109 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007841/1.033, allocations: 0.5197 MB / 1.11 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006105/1.033, allocations: 435.7 kB / 1.11 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/1.034, allocations: 0.7465 MB / 1.111 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/1.034, allocations: 22.34 kB / 1.111 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/1.034, allocations: 0.75 kB / 1.111 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.006147/1.04, allocations: 2.603 MB / 1.114 GB, free: 13.61 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches