Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001252/0.001252, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.01067/0.01067, allocations: 174 kB / 16.27 MB, free: 6.648 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.551/1.551, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.782/2.782, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 13.16 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3829, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2108/0.5937, allocations: 169.6 MB / 1.224 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009539/0.6033, allocations: 9.376 MB / 1.233 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003661/0.6037, allocations: 11.94 kB / 1.233 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.6043, allocations: 155 kB / 1.234 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.6046, allocations: 83.48 kB / 1.234 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.6048, allocations: 55.94 kB / 1.234 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.6053, allocations: 386.5 kB / 1.234 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.6056, allocations: 185.8 kB / 1.234 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.6059, allocations: 123.4 kB / 1.234 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.6061, allocations: 91.44 kB / 1.235 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.6061, allocations: 8 kB / 1.235 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.25e-05/0.6061, allocations: 4 kB / 1.235 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.646e-05/0.6062, allocations: 59.75 kB / 1.235 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.6063, allocations: 125 kB / 1.235 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.6065, allocations: 259 kB / 1.235 GB, free: 276 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6066, allocations: 8 kB / 1.235 GB, free: 268 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6066, allocations: 0 / 1.235 GB, free: 268 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.6066, allocations: 0 / 1.235 GB, free: 268 kB / 0.9825 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.000518/0.6071, allocations: 467.1 kB / 1.235 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.6072, allocations: 12.03 kB / 1.235 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.6072, allocations: 31.56 kB / 1.235 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.6075, allocations: 262.5 kB / 1.236 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.6076, allocations: 20.56 kB / 1.236 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.487e-05/0.6076, allocations: 24 kB / 1.236 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.6081, allocations: 335.9 kB / 1.236 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.6081, allocations: 4 kB / 1.236 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.6081, allocations: 12 kB / 1.236 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.6081, allocations: 8 kB / 1.236 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.6084, allocations: 147.6 kB / 1.236 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.6097, allocations: 1.816 MB / 1.238 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.682e-05/0.6098, allocations: 169.1 kB / 1.238 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.6098, allocations: 80.14 kB / 1.238 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.6099, allocations: 87.22 kB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.6099, allocations: 113.8 kB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.6099, allocations: 0 / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.746e-05/0.61, allocations: 49.42 kB / 1.238 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.6101, allocations: 126.7 kB / 1.239 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.6105, allocations: 377.6 kB / 1.239 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.6105, allocations: 29.7 kB / 1.239 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.6107, allocations: 171.8 kB / 1.239 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.6107, allocations: 0 / 1.239 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.6107, allocations: 9.719 kB / 1.239 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.6108, allocations: 338.8 kB / 1.239 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.6109, allocations: 0 / 1.239 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.6109, allocations: 40.28 kB / 1.24 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.242e-05/0.611, allocations: 44.23 kB / 1.24 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.611, allocations: 0 / 1.24 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001603/0.6111, allocations: 97.28 kB / 1.24 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6112, allocations: 4 kB / 1.24 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6112, allocations: 0 / 1.24 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.6112, allocations: 4 kB / 1.24 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.6113, allocations: 8 kB / 1.24 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.6113, allocations: 7.922 kB / 1.24 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.6114, allocations: 31.53 kB / 1.24 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.6114, allocations: 4 kB / 1.24 GB, free: 11.05 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.0001516/0.6115, allocations: 213.2 kB / 1.24 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.6116, allocations: 132.7 kB / 1.24 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.475e-05/0.6117, allocations: 134.9 kB / 1.24 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.447e-05/0.6118, allocations: 180.2 kB / 1.24 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.985e-05/0.6118, allocations: 176.3 kB / 1.241 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.907e-05/0.6119, allocations: 184.3 kB / 1.241 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.6122, allocations: 497 kB / 1.241 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-05/0.6123, allocations: 108.9 kB / 1.241 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.6123, allocations: 104.9 kB / 1.241 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.305e-05/0.6124, allocations: 180.3 kB / 1.242 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.6124, allocations: 176.3 kB / 1.242 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.821e-05/0.6125, allocations: 184.2 kB / 1.242 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.447e-05/0.6126, allocations: 184.3 kB / 1.242 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.6128, allocations: 327.4 kB / 1.242 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.6129, allocations: 217.7 kB / 1.243 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.906e-05/0.613, allocations: 176.3 kB / 1.243 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.6131, allocations: 109 kB / 1.243 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.6132, allocations: 188.2 kB / 1.243 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.918e-05/0.6133, allocations: 105 kB / 1.243 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002644/0.6135, allocations: 263.2 kB / 1.243 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6135, allocations: 4 kB / 1.243 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002439/0.6138, allocations: 24 kB / 1.243 GB, free: 7.043 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.0001489/0.6139, allocations: 178.5 kB / 1.244 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.312e-05/0.614, allocations: 20.27 kB / 1.244 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.614, allocations: 0 / 1.244 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.6141, allocations: 0 / 1.244 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009392/0.615, allocations: 0.6228 MB / 1.244 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.6157, allocations: 0.4889 MB / 1.245 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.616, allocations: 0.7599 MB / 1.245 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.514e-05/0.6161, allocations: 34.97 kB / 1.245 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.6162, allocations: 19.44 kB / 1.245 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.6162, allocations: 0 / 1.245 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of Templates: time 0.006456/0.6226, allocations: 2.999 MB / 1.248 GB, free: 1.898 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches