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.001444/0.001444, allocations: 116.7 kB / 16.37 MB, free: 6.012 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.001563/0.001563, allocations: 192.2 kB / 17.31 MB, free: 5.613 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.14 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.205/2.205, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 61.27 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3088, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.7741/1.083, allocations: 148 MB / 1.096 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004914/1.088, allocations: 4.647 MB / 1.1 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004002/1.088, allocations: 10.25 kB / 1.1 GB, free: 7.531 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.0006441/1.089, allocations: 167.6 kB / 1.1 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003888/1.089, allocations: 79.8 kB / 1.1 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/1.09, allocations: 68.06 kB / 1.101 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004608/1.09, allocations: 310.8 kB / 1.101 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/1.09, allocations: 148.7 kB / 1.101 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/1.091, allocations: 109.1 kB / 1.101 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/1.091, allocations: 153.6 kB / 1.101 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/1.091, allocations: 16.19 kB / 1.101 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.819e-05/1.091, allocations: 23.53 kB / 1.101 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/1.091, allocations: 67.81 kB / 1.101 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/1.091, allocations: 107.9 kB / 1.101 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/1.092, allocations: 232.8 kB / 1.102 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.092, allocations: 2 kB / 1.102 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/1.092, allocations: 0 / 1.102 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.722e-06/1.092, allocations: 0 / 1.102 GB, free: 7.496 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.0009407/1.093, allocations: 492.3 kB / 1.102 GB, free: 23.09 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/1.093, allocations: 9.344 kB / 1.102 GB, free: 23.09 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/1.093, allocations: 26.33 kB / 1.102 GB, free: 23.07 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/1.093, allocations: 273.2 kB / 1.102 GB, free: 22.86 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/1.093, allocations: 16.72 kB / 1.102 GB, free: 22.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/1.093, allocations: 22.53 kB / 1.102 GB, free: 22.86 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/1.094, allocations: 307.7 kB / 1.103 GB, free: 22.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.094, allocations: 1.844 kB / 1.103 GB, free: 22.7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/1.094, allocations: 10.34 kB / 1.103 GB, free: 22.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/1.094, allocations: 8.391 kB / 1.103 GB, free: 22.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/1.094, allocations: 125.2 kB / 1.103 GB, free: 22.7 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/1.095, allocations: 1.965 MB / 1.105 GB, free: 20.99 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.132e-05/1.095, allocations: 171.6 kB / 1.105 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/1.095, allocations: 81.78 kB / 1.105 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/1.095, allocations: 77.2 kB / 1.105 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/1.095, allocations: 111.8 kB / 1.105 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.194e-06/1.095, allocations: 1.828 kB / 1.105 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001023/1.096, allocations: 54.09 kB / 1.105 GB, free: 20.5 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/1.096, allocations: 129.2 kB / 1.105 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/1.096, allocations: 328.5 kB / 1.106 GB, free: 20.26 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/1.096, allocations: 27.33 kB / 1.106 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/1.096, allocations: 166.9 kB / 1.106 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/1.096, allocations: 0.75 kB / 1.106 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/1.096, allocations: 22.83 kB / 1.106 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.097, allocations: 336.9 kB / 1.106 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/1.097, allocations: 8.781 kB / 1.106 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.551e-05/1.097, allocations: 59.09 kB / 1.106 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.194e-05/1.097, allocations: 71.5 kB / 1.106 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.097, allocations: 0.8438 kB / 1.106 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002031/1.097, allocations: 103.8 kB / 1.106 GB, free: 19.63 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.097, allocations: 6.5 kB / 1.106 GB, free: 19.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/1.097, allocations: 3.062 kB / 1.106 GB, free: 19.63 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/1.097, allocations: 10.22 kB / 1.106 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/1.097, allocations: 15.06 kB / 1.106 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/1.097, allocations: 5.062 kB / 1.106 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/1.097, allocations: 26.97 kB / 1.107 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/1.097, allocations: 3.438 kB / 1.107 GB, free: 19.61 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.0001719/1.097, allocations: 213.2 kB / 1.107 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/1.097, allocations: 125.1 kB / 1.107 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.024e-05/1.098, allocations: 130.9 kB / 1.107 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.677e-05/1.098, allocations: 181.6 kB / 1.107 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.151e-05/1.098, allocations: 183 kB / 1.107 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-05/1.098, allocations: 182.7 kB / 1.107 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/1.098, allocations: 478 kB / 1.108 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.383e-05/1.098, allocations: 106.2 kB / 1.108 GB, free: 18.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/1.098, allocations: 106.8 kB / 1.108 GB, free: 18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.938e-05/1.098, allocations: 182.3 kB / 1.108 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/1.098, allocations: 177.5 kB / 1.108 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.383e-05/1.098, allocations: 188 kB / 1.109 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.268e-05/1.099, allocations: 179.6 kB / 1.109 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/1.099, allocations: 328.1 kB / 1.109 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/1.099, allocations: 209.6 kB / 1.109 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/1.099, allocations: 178.8 kB / 1.11 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/1.099, allocations: 112.4 kB / 1.11 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/1.099, allocations: 182.6 kB / 1.11 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/1.099, allocations: 104.8 kB / 1.11 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002617/1.099, allocations: 240.3 kB / 1.11 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.099, allocations: 0 / 1.11 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002775/1.1, allocations: 29.16 kB / 1.11 GB, free: 16.08 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.0001435/1.1, allocations: 173.5 kB / 1.11 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001014/1.1, allocations: 24.52 kB / 1.11 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.1, allocations: 4.219 kB / 1.11 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/1.1, allocations: 1.062 kB / 1.11 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007537/1.101, allocations: 0.5211 MB / 1.111 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/1.101, allocations: 401.3 kB / 1.111 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/1.102, allocations: 0.7434 MB / 1.112 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.468e-05/1.102, allocations: 30.91 kB / 1.112 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/1.102, allocations: 18.47 kB / 1.112 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.102, allocations: 1.094 kB / 1.112 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.0209/1.123, allocations: 2.34 MB / 1.114 GB, free: 14.43 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 cvode -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