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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.005157/0.005157, allocations: 96.5 kB / 15.73 MB, free: 6.043 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.001544/0.001544, allocations: 195.6 kB / 16.68 MB, free: 5.969 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.89 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2807, allocations: 162.2 MB / 1.241 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6913/0.972, allocations: 174 MB / 1.411 GB, free: 3.148 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.9822, allocations: 9.515 MB / 1.421 GB, free: 11.44 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.9824, allocations: 10.78 kB / 1.421 GB, free: 11.43 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.9829, allocations: 190.5 kB / 1.421 GB, free: 11.27 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.9831, allocations: 91.14 kB / 1.421 GB, free: 11.19 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.9833, allocations: 60.52 kB / 1.421 GB, free: 11.14 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.9837, allocations: 337.2 kB / 1.421 GB, free: 10.94 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.984, allocations: 197.6 kB / 1.422 GB, free: 10.84 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.9844, allocations: 169.1 kB / 1.422 GB, free: 10.74 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.9845, allocations: 121.7 kB / 1.422 GB, free: 10.66 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.9846, allocations: 21.81 kB / 1.422 GB, free: 10.66 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 3.78e-05/0.9846, allocations: 21.16 kB / 1.422 GB, free: 10.66 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 9.216e-05/0.9847, allocations: 73.27 kB / 1.422 GB, free: 10.61 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.9849, allocations: 128.8 kB / 1.422 GB, free: 10.52 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.9852, allocations: 297 kB / 1.422 GB, free: 10.31 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.9852, allocations: 0.9375 kB / 1.422 GB, free: 10.31 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9852, allocations: 0 / 1.422 GB, free: 10.31 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.9852, allocations: 1.062 kB / 1.422 GB, free: 10.31 MB / 1.123 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.0005538/0.9858, allocations: 0.5182 MB / 1.423 GB, free: 9.809 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.9858, allocations: 10.22 kB / 1.423 GB, free: 9.809 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.084e-05/0.9859, allocations: 63.38 kB / 1.423 GB, free: 9.746 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.9859, allocations: 35.19 kB / 1.423 GB, free: 9.727 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.9863, allocations: 280.9 kB / 1.423 GB, free: 9.449 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.9864, allocations: 23.5 kB / 1.423 GB, free: 9.438 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.9864, allocations: 24.25 kB / 1.423 GB, free: 9.43 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/0.9869, allocations: 327.5 kB / 1.424 GB, free: 9.168 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.9869, allocations: 1.125 kB / 1.424 GB, free: 9.168 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.9869, allocations: 15.42 kB / 1.424 GB, free: 9.156 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.9869, allocations: 12.72 kB / 1.424 GB, free: 9.152 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.9872, allocations: 150.8 kB / 1.424 GB, free: 9.074 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.9886, allocations: 1.811 MB / 1.426 GB, free: 7.324 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 9.506e-05/0.9887, allocations: 178.5 kB / 1.426 GB, free: 7.141 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.042e-05/0.9887, allocations: 80.14 kB / 1.426 GB, free: 7.059 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.9888, allocations: 80.22 kB / 1.426 GB, free: 6.98 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/0.9888, allocations: 111.3 kB / 1.426 GB, free: 6.863 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.9889, allocations: 0 / 1.426 GB, free: 6.863 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 9.258e-05/0.9889, allocations: 54.36 kB / 1.426 GB, free: 6.816 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.989, allocations: 130.7 kB / 1.426 GB, free: 6.676 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/0.9894, allocations: 373.4 kB / 1.427 GB, free: 6.441 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.9895, allocations: 25.7 kB / 1.427 GB, free: 6.41 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.9896, allocations: 166.2 kB / 1.427 GB, free: 6.258 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.022e-06/0.9896, allocations: 1.25 kB / 1.427 GB, free: 6.258 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.9897, allocations: 25.48 kB / 1.427 GB, free: 6.23 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.9898, allocations: 336.7 kB / 1.427 GB, free: 5.898 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.9898, allocations: 7.594 kB / 1.427 GB, free: 5.895 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.9899, allocations: 33.05 kB / 1.427 GB, free: 5.852 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.078e-05/0.9899, allocations: 50.56 kB / 1.427 GB, free: 5.797 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.99, allocations: 0 / 1.427 GB, free: 5.797 MB / 1.123 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001527/0.9901, allocations: 94.84 kB / 1.427 GB, free: 5.727 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.9901, allocations: 5.625 kB / 1.427 GB, free: 5.727 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.9901, allocations: 2.062 kB / 1.427 GB, free: 5.727 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.9902, allocations: 1.594 kB / 1.427 GB, free: 5.727 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.58e-05/0.9902, allocations: 8.047 kB / 1.427 GB, free: 5.727 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.9902, allocations: 5.375 kB / 1.427 GB, free: 5.723 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.822e-05/0.9903, allocations: 32.23 kB / 1.427 GB, free: 5.699 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.9903, allocations: 2.812 kB / 1.427 GB, free: 5.699 MB / 1.123 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.000147/0.9905, allocations: 210.1 kB / 1.427 GB, free: 5.496 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-05/0.9906, allocations: 138.6 kB / 1.428 GB, free: 5.367 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.158e-05/0.9907, allocations: 132.3 kB / 1.428 GB, free: 5.238 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-05/0.9907, allocations: 181.3 kB / 1.428 GB, free: 5.055 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.868e-05/0.9908, allocations: 182.5 kB / 1.428 GB, free: 4.871 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.99e-05/0.9909, allocations: 177.3 kB / 1.428 GB, free: 4.691 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.9913, allocations: 491 kB / 1.429 GB, free: 4.188 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.563e-05/0.9913, allocations: 106.5 kB / 1.429 GB, free: 4.078 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.9914, allocations: 109.1 kB / 1.429 GB, free: 3.965 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-05/0.9915, allocations: 185.8 kB / 1.429 GB, free: 3.777 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.779e-05/0.9915, allocations: 185.7 kB / 1.429 GB, free: 3.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.485e-05/0.9916, allocations: 188.1 kB / 1.429 GB, free: 3.402 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.371e-05/0.9917, allocations: 177.8 kB / 1.43 GB, free: 3.223 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.9919, allocations: 331.5 kB / 1.43 GB, free: 2.891 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.992, allocations: 218.3 kB / 1.43 GB, free: 2.66 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.9921, allocations: 181.6 kB / 1.43 GB, free: 2.477 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.9923, allocations: 101 kB / 1.43 GB, free: 2.371 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.9923, allocations: 181.5 kB / 1.431 GB, free: 2.188 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.9924, allocations: 106.6 kB / 1.431 GB, free: 2.078 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002707/0.9927, allocations: 270.4 kB / 1.431 GB, free: 1.914 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9927, allocations: 4 kB / 1.431 GB, free: 1.91 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002616/0.9929, allocations: 31.44 kB / 1.431 GB, free: 1.906 MB / 1.123 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.0004404/0.9934, allocations: 0.8342 MB / 1.432 GB, free: 1.078 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 6.648e-05/0.9935, allocations: 25.73 kB / 1.432 GB, free: 1.062 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9935, allocations: 0 / 1.432 GB, free: 1.062 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.9935, allocations: 1.375 kB / 1.432 GB, free: 1.062 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008447/0.9943, allocations: 0.5432 MB / 1.432 GB, free: 0.5664 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.9971, allocations: 2.699 MB / 1.435 GB, free: 14.52 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.9975, allocations: 0.7543 MB / 1.436 GB, free: 13.79 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 8.927e-05/0.9976, allocations: 30.09 kB / 1.436 GB, free: 13.78 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.9977, allocations: 74.69 kB / 1.436 GB, free: 13.72 MB / 1.139 GB Notification: Performance of SimCode: time 3.21e-07/0.9978, allocations: 3.938 kB / 1.436 GB, free: 13.71 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/1.024, allocations: 5.915 MB / 1.442 GB, free: 10.27 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.849, allocations: 22.78 kB / 1.442 GB, free: 10.25 MB / 1.139 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/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