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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001769/0.001769, allocations: 105.3 kB / 16.36 MB, free: 5.828 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.002017/0.002017, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 65.73 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2884, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.8116/1.1, allocations: 148 MB / 1.096 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005238/1.105, allocations: 4.652 MB / 1.1 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003974/1.106, allocations: 10.75 kB / 1.1 GB, free: 7.09 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006149/1.106, allocations: 164.2 kB / 1.1 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003794/1.107, allocations: 82.59 kB / 1.1 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/1.107, allocations: 72.14 kB / 1.1 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004674/1.107, allocations: 305 kB / 1.101 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/1.108, allocations: 148.4 kB / 1.101 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/1.108, allocations: 110.3 kB / 1.101 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/1.108, allocations: 151.2 kB / 1.101 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/1.108, allocations: 16.72 kB / 1.101 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.38e-05/1.108, allocations: 16.81 kB / 1.101 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/1.108, allocations: 71.56 kB / 1.101 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/1.109, allocations: 106.2 kB / 1.101 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003371/1.109, allocations: 234 kB / 1.102 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.109, allocations: 1.031 kB / 1.102 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/1.109, allocations: 0.5 kB / 1.102 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.155e-05/1.109, allocations: 0 / 1.102 GB, free: 7.062 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.000887/1.11, allocations: 495.4 kB / 1.102 GB, free: 22.65 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.11, allocations: 10.34 kB / 1.102 GB, free: 22.65 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.099e-05/1.11, allocations: 27.56 kB / 1.102 GB, free: 22.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/1.11, allocations: 277.5 kB / 1.102 GB, free: 22.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/1.111, allocations: 18.5 kB / 1.102 GB, free: 22.42 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/1.111, allocations: 20.66 kB / 1.102 GB, free: 22.42 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/1.111, allocations: 308.6 kB / 1.103 GB, free: 22.26 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/1.111, allocations: 4.031 kB / 1.103 GB, free: 22.26 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/1.111, allocations: 10.94 kB / 1.103 GB, free: 22.26 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/1.111, allocations: 6.906 kB / 1.103 GB, free: 22.26 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/1.111, allocations: 125.3 kB / 1.103 GB, free: 22.26 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/1.113, allocations: 1.966 MB / 1.105 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.952e-05/1.113, allocations: 169.6 kB / 1.105 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/1.113, allocations: 82.73 kB / 1.105 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/1.113, allocations: 77.06 kB / 1.105 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/1.113, allocations: 112 kB / 1.105 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/1.113, allocations: 0.9062 kB / 1.105 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.924e-05/1.113, allocations: 53.56 kB / 1.105 GB, free: 20.06 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/1.113, allocations: 128.3 kB / 1.105 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/1.114, allocations: 328.6 kB / 1.106 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/1.114, allocations: 26.73 kB / 1.106 GB, free: 19.79 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/1.114, allocations: 164.3 kB / 1.106 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.259e-06/1.114, allocations: 1.906 kB / 1.106 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/1.114, allocations: 21.8 kB / 1.106 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.114, allocations: 334 kB / 1.106 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/1.114, allocations: 7.641 kB / 1.106 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.312e-05/1.114, allocations: 63.72 kB / 1.106 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.583e-05/1.114, allocations: 76.83 kB / 1.106 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/1.114, allocations: 1.438 kB / 1.106 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002012/1.114, allocations: 100.5 kB / 1.106 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.114, allocations: 6.047 kB / 1.106 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.114, allocations: 6.125 kB / 1.106 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.114, allocations: 6.5 kB / 1.106 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.901e-05/1.115, allocations: 18.8 kB / 1.106 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.115, allocations: 4.219 kB / 1.106 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/1.115, allocations: 23.42 kB / 1.106 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/1.115, allocations: 4.75 kB / 1.107 GB, free: 19.17 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.0001427/1.115, allocations: 212.3 kB / 1.107 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.14e-05/1.115, allocations: 131.6 kB / 1.107 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.316e-05/1.115, allocations: 126.1 kB / 1.107 GB, free: 18.76 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.409e-05/1.115, allocations: 182.8 kB / 1.107 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.802e-05/1.115, allocations: 181.1 kB / 1.107 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.648e-05/1.115, allocations: 183.1 kB / 1.107 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/1.116, allocations: 479.2 kB / 1.108 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001028/1.116, allocations: 109 kB / 1.108 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/1.116, allocations: 107.2 kB / 1.108 GB, free: 17.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/1.116, allocations: 178.8 kB / 1.108 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/1.116, allocations: 180.8 kB / 1.108 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.033e-05/1.116, allocations: 183.4 kB / 1.109 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001107/1.116, allocations: 181.6 kB / 1.109 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/1.116, allocations: 327.9 kB / 1.109 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/1.116, allocations: 208.3 kB / 1.109 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/1.117, allocations: 181.2 kB / 1.11 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/1.117, allocations: 114.5 kB / 1.11 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/1.117, allocations: 179.6 kB / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/1.117, allocations: 106.4 kB / 1.11 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002674/1.117, allocations: 238.4 kB / 1.11 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.117, allocations: 0.9062 kB / 1.11 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003108/1.117, allocations: 29.16 kB / 1.11 GB, free: 15.64 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.000138/1.118, allocations: 174.1 kB / 1.11 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.116e-05/1.118, allocations: 22.48 kB / 1.11 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.118, allocations: 2.125 kB / 1.11 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.426e-06/1.118, allocations: 3.797 kB / 1.11 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/1.118, allocations: 0.5188 MB / 1.111 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/1.119, allocations: 401.8 kB / 1.111 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/1.119, allocations: 0.7428 MB / 1.112 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.667e-05/1.12, allocations: 30.25 kB / 1.112 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/1.12, allocations: 17.81 kB / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.12, allocations: 0.875 kB / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of Templates: time 0.007075/1.127, allocations: 2.352 MB / 1.114 GB, free: 13.98 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 -s gbode -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