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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001754/0.001754, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001998/0.001998, allocations: 192.2 kB / 16.26 MB, free: 6.625 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.842/2.842, allocations: 469.8 MB / 0.7421 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 73.03 kB / 0.908 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3174, allocations: 159.2 MB / 1.063 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2051/0.5226, allocations: 171.7 MB / 1.231 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.5337, allocations: 9.437 MB / 1.24 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.5341, allocations: 8 kB / 1.24 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006337/0.5348, allocations: 167 kB / 1.241 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.5351, allocations: 83.44 kB / 1.241 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.5353, allocations: 55.95 kB / 1.241 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004268/0.5358, allocations: 330.7 kB / 1.241 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003598/0.5361, allocations: 200.9 kB / 1.241 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.5365, allocations: 171.3 kB / 1.241 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.5367, allocations: 119.5 kB / 1.241 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.5367, allocations: 20 kB / 1.241 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.421e-05/0.5367, allocations: 24 kB / 1.242 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.5369, allocations: 79.75 kB / 1.242 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.537, allocations: 127.3 kB / 1.242 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.5373, allocations: 267.1 kB / 1.242 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5373, allocations: 4 kB / 1.242 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5373, allocations: 0 / 1.242 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.5373, allocations: 0 / 1.242 GB, free: 7.105 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.0006036/0.5379, allocations: 0.5107 MB / 1.242 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.538, allocations: 8.031 kB / 1.242 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.538, allocations: 43.56 kB / 1.243 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.5384, allocations: 266.5 kB / 1.243 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.5384, allocations: 20.56 kB / 1.243 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.5385, allocations: 24 kB / 1.243 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.539, allocations: 327.9 kB / 1.243 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.539, allocations: 0 / 1.243 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.539, allocations: 12 kB / 1.243 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.5391, allocations: 8 kB / 1.243 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.5393, allocations: 147.6 kB / 1.243 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.5408, allocations: 1.816 MB / 1.245 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.686e-05/0.5409, allocations: 173.1 kB / 1.245 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.5409, allocations: 84.14 kB / 1.245 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.541, allocations: 79.22 kB / 1.245 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.695e-05/0.541, allocations: 105.8 kB / 1.245 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.5411, allocations: 0 / 1.245 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.102e-05/0.5411, allocations: 61.36 kB / 1.246 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.5412, allocations: 130.6 kB / 1.246 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.5417, allocations: 377.6 kB / 1.246 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.5417, allocations: 25.7 kB / 1.246 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.5418, allocations: 163.8 kB / 1.246 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-06/0.5418, allocations: 0 / 1.246 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.5419, allocations: 17.72 kB / 1.246 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5421, allocations: 342.8 kB / 1.247 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.5421, allocations: 4 kB / 1.247 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-05/0.5421, allocations: 36.28 kB / 1.247 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.153e-05/0.5422, allocations: 44.23 kB / 1.247 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5422, allocations: 0 / 1.247 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001592/0.5424, allocations: 93.12 kB / 1.247 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5424, allocations: 8 kB / 1.247 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5424, allocations: 0 / 1.247 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5424, allocations: 3.984 kB / 1.247 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.5425, allocations: 8 kB / 1.247 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.5425, allocations: 8.156 kB / 1.247 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.303e-05/0.5426, allocations: 31.61 kB / 1.247 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.5426, allocations: 4 kB / 1.247 GB, free: 1.836 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.000158/0.5428, allocations: 209.1 kB / 1.247 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.399e-05/0.5429, allocations: 140.6 kB / 1.247 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.859e-05/0.543, allocations: 130.9 kB / 1.247 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.508e-05/0.543, allocations: 180.2 kB / 1.247 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.522e-05/0.5431, allocations: 184.3 kB / 1.248 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.229e-05/0.5432, allocations: 180.2 kB / 1.248 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.5436, allocations: 493.1 kB / 1.248 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.409e-05/0.5437, allocations: 104.9 kB / 1.248 GB, free: 140 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.5437, allocations: 105 kB / 1.248 GB, free: 28 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5857/1.129, allocations: 183 kB / 1.249 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/1.129, allocations: 182.5 kB / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.852e-05/1.13, allocations: 177.4 kB / 1.249 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.899e-05/1.13, allocations: 181 kB / 1.249 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/1.13, allocations: 334.5 kB / 1.249 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/1.13, allocations: 209.9 kB / 1.25 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/1.13, allocations: 185.9 kB / 1.25 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/1.13, allocations: 105.5 kB / 1.25 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/1.13, allocations: 179.3 kB / 1.25 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/1.13, allocations: 107.2 kB / 1.25 GB, free: 190 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003753/1.13, allocations: 271.3 kB / 1.25 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.13, allocations: 0.5312 kB / 1.25 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003454/1.131, allocations: 27.16 kB / 1.25 GB, free: 189.9 MB / 0.9981 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.0001433/1.131, allocations: 178.2 kB / 1.251 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001102/1.131, allocations: 22.14 kB / 1.251 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.131, allocations: 0 / 1.251 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/1.131, allocations: 0.8125 kB / 1.251 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008948/1.132, allocations: 0.5487 MB / 1.251 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/1.133, allocations: 0.4917 MB / 1.252 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/1.133, allocations: 0.7529 MB / 1.252 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001141/1.133, allocations: 36.23 kB / 1.252 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/1.133, allocations: 19.81 kB / 1.252 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of SimCode: time 4.4e-07/1.133, allocations: 0 / 1.252 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.008117/1.141, allocations: 3.146 MB / 1.256 GB, free: 188.1 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (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) 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) Reference file matches