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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005321/0.005321, allocations: 101.7 kB / 15.73 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.001227/0.001227, allocations: 195.2 kB / 16.67 MB, free: 5.949 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.461/2.461, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 62.58 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3253, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1728/0.4982, allocations: 148 MB / 1.232 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00554/0.5037, allocations: 4.661 MB / 1.237 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00046/0.5042, allocations: 7.938 kB / 1.237 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007157/0.505, allocations: 162.9 kB / 1.237 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004838/0.5055, allocations: 79.45 kB / 1.237 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.5058, allocations: 79.84 kB / 1.237 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004835/0.5063, allocations: 294.8 kB / 1.237 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/0.5066, allocations: 143.7 kB / 1.237 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.5069, allocations: 107.6 kB / 1.237 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.5072, allocations: 159.4 kB / 1.238 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.5072, allocations: 16 kB / 1.238 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.497e-05/0.5073, allocations: 20 kB / 1.238 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.5074, allocations: 59.81 kB / 1.238 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.5075, allocations: 107.4 kB / 1.238 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.5078, allocations: 230.8 kB / 1.238 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5078, allocations: 3.938 kB / 1.238 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5078, allocations: 0 / 1.238 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.5078, allocations: 0 / 1.238 GB, free: 7.27 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005662/0.5084, allocations: 0.4913 MB / 1.238 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.5085, allocations: 8.031 kB / 1.238 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.548e-05/0.5085, allocations: 58.72 kB / 1.239 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.5086, allocations: 28.66 kB / 1.239 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.5091, allocations: 269.3 kB / 1.239 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.5091, allocations: 16.81 kB / 1.239 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.5092, allocations: 20.38 kB / 1.239 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004574/0.5096, allocations: 304.8 kB / 1.239 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.5096, allocations: 0 / 1.239 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.5097, allocations: 12 kB / 1.239 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.5097, allocations: 8 kB / 1.239 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.5099, allocations: 135.6 kB / 1.239 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.5114, allocations: 1.969 MB / 1.241 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.776e-05/0.5115, allocations: 169.1 kB / 1.241 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.5116, allocations: 80.14 kB / 1.241 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.5116, allocations: 75.28 kB / 1.242 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.5117, allocations: 109.8 kB / 1.242 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5117, allocations: 4 kB / 1.242 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001164/0.5118, allocations: 57.3 kB / 1.242 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.5119, allocations: 130.7 kB / 1.242 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.5122, allocations: 328.5 kB / 1.242 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.5123, allocations: 25.7 kB / 1.242 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.5124, allocations: 167.7 kB / 1.242 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/0.5124, allocations: 3.984 kB / 1.242 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.5124, allocations: 21.62 kB / 1.242 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5126, allocations: 342.8 kB / 1.243 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.5126, allocations: 4 kB / 1.243 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.758e-05/0.5127, allocations: 54.86 kB / 1.243 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.565e-05/0.5128, allocations: 70.75 kB / 1.243 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5128, allocations: 0 / 1.243 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001922/0.513, allocations: 109.2 kB / 1.243 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.513, allocations: 8 kB / 1.243 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.513, allocations: 7.875 kB / 1.243 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.513, allocations: 4 kB / 1.243 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.757e-05/0.5131, allocations: 12 kB / 1.243 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5131, allocations: 0 / 1.243 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.706e-05/0.5132, allocations: 27.69 kB / 1.243 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.5132, allocations: 4.25 kB / 1.243 GB, free: 1.801 MB / 0.9981 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.0001433/0.5134, allocations: 221 kB / 1.243 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.5135, allocations: 120.7 kB / 1.243 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.863e-05/0.5136, allocations: 137.9 kB / 1.243 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-05/0.5136, allocations: 176.3 kB / 1.244 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.621e-05/0.5137, allocations: 180.3 kB / 1.244 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-05/0.5138, allocations: 184.2 kB / 1.244 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.5141, allocations: 477.1 kB / 1.244 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-05/0.5141, allocations: 104.9 kB / 1.244 GB, free: 124 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.5142, allocations: 101 kB / 1.245 GB, free: 16 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-05/0.5143, allocations: 184.3 kB / 1.245 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.587e-05/0.5144, allocations: 188.1 kB / 1.245 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.8e-05/0.5144, allocations: 180.2 kB / 1.245 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-05/0.5145, allocations: 184.2 kB / 1.245 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.5147, allocations: 323.5 kB / 1.246 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.5148, allocations: 210 kB / 1.246 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/0.5149, allocations: 184.2 kB / 1.246 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.515, allocations: 112.9 kB / 1.246 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.5151, allocations: 188.3 kB / 1.246 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.5152, allocations: 104.9 kB / 1.246 GB, free: 14.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002447/0.5154, allocations: 235 kB / 1.247 GB, free: 13.86 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.5154, allocations: 0 / 1.247 GB, free: 13.86 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002702/0.5157, allocations: 24 kB / 1.247 GB, free: 13.84 MB / 1.014 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.0004237/0.5161, allocations: 0.8319 MB / 1.247 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.985e-05/0.5162, allocations: 24.38 kB / 1.247 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5163, allocations: 8 kB / 1.247 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.5163, allocations: 0 / 1.247 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.517, allocations: 0.5197 MB / 1.248 GB, free: 12.42 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.5197, allocations: 2.51 MB / 1.25 GB, free: 9.789 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.5201, allocations: 0.748 MB / 1.251 GB, free: 9.016 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.5202, allocations: 26.28 kB / 1.251 GB, free: 8.992 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-05/0.5203, allocations: 63.36 kB / 1.251 GB, free: 8.93 MB / 1.014 GB Notification: Performance of SimCode: time 2.21e-07/0.5203, allocations: 0 / 1.251 GB, free: 8.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.5432, allocations: 4.865 MB / 1.256 GB, free: 4.215 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.297, allocations: 6.188 kB / 1.256 GB, free: 4.211 MB / 1.014 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > 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