Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_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.0009225/0.0009225, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005485/0.005485, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.394/2.394, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003227, allocations: 8.844 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2394, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1338/0.3732, allocations: 143.9 MB / 1.199 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004326/0.3776, allocations: 4.561 MB / 1.204 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.3778, allocations: 7.938 kB / 1.204 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.3782, allocations: 123.2 kB / 1.204 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.3785, allocations: 79.55 kB / 1.204 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.3786, allocations: 55.89 kB / 1.204 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.379, allocations: 366.8 kB / 1.204 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.3792, allocations: 132.1 kB / 1.204 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.3794, allocations: 87.58 kB / 1.205 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.3796, allocations: 139.4 kB / 1.205 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3796, allocations: 4 kB / 1.205 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.308e-05/0.3797, allocations: 4 kB / 1.205 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.3797, allocations: 51.83 kB / 1.205 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.934e-05/0.3798, allocations: 113.2 kB / 1.205 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.38, allocations: 215.4 kB / 1.205 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.38, allocations: 0 / 1.205 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.38, allocations: 0 / 1.205 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.38, allocations: 0 / 1.205 GB, free: 14.5 MB / 0.9669 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.0003862/0.3804, allocations: 455.2 kB / 1.206 GB, free: 14 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3805, allocations: 11.97 kB / 1.206 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.515e-05/0.3805, allocations: 62.67 kB / 1.206 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.3806, allocations: 24.66 kB / 1.206 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.3808, allocations: 261.7 kB / 1.206 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.3809, allocations: 16.81 kB / 1.206 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.3809, allocations: 24.38 kB / 1.206 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.3813, allocations: 300.8 kB / 1.206 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3813, allocations: 0 / 1.206 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.3813, allocations: 16 kB / 1.206 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3813, allocations: 8 kB / 1.206 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.3815, allocations: 123.7 kB / 1.206 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.3826, allocations: 1.969 MB / 1.208 GB, free: 11 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.166e-05/0.3827, allocations: 173.1 kB / 1.208 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.3827, allocations: 80.14 kB / 1.208 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3828, allocations: 79.28 kB / 1.209 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3828, allocations: 109.8 kB / 1.209 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.3828, allocations: 3.984 kB / 1.209 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.007e-05/0.3829, allocations: 53.36 kB / 1.209 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.3829, allocations: 130.7 kB / 1.209 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.3833, allocations: 332.5 kB / 1.209 GB, free: 10 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.3833, allocations: 29.64 kB / 1.209 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3834, allocations: 163.6 kB / 1.209 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.3834, allocations: 0 / 1.209 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.3834, allocations: 13.72 kB / 1.209 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3835, allocations: 334.8 kB / 1.21 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.3835, allocations: 8 kB / 1.21 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.17e-05/0.3836, allocations: 62.8 kB / 1.21 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.504e-05/0.3837, allocations: 66.81 kB / 1.21 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3837, allocations: 0 / 1.21 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000163/0.3838, allocations: 109.4 kB / 1.21 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3839, allocations: 5.406 kB / 1.21 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3839, allocations: 7.938 kB / 1.21 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.3839, allocations: 0 / 1.21 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.384, allocations: 15.98 kB / 1.21 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.384, allocations: 8.094 kB / 1.21 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.384, allocations: 31.59 kB / 1.21 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3841, allocations: 4 kB / 1.21 GB, free: 9.082 MB / 0.9669 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.0001111/0.3842, allocations: 209.2 kB / 1.21 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.3842, allocations: 132.6 kB / 1.21 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.3843, allocations: 126 kB / 1.21 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.636e-05/0.3844, allocations: 180.2 kB / 1.211 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.243e-05/0.3844, allocations: 188.2 kB / 1.211 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.376e-05/0.3845, allocations: 180.3 kB / 1.211 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.3847, allocations: 481.1 kB / 1.211 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/0.3848, allocations: 105 kB / 1.212 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.3848, allocations: 109 kB / 1.212 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.694e-05/0.3849, allocations: 180.2 kB / 1.212 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.3849, allocations: 180.2 kB / 1.212 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-05/0.385, allocations: 188.2 kB / 1.212 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.792e-05/0.385, allocations: 180.3 kB / 1.212 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.3852, allocations: 323.6 kB / 1.213 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/0.3852, allocations: 205.8 kB / 1.213 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.3853, allocations: 188.1 kB / 1.213 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.3854, allocations: 105 kB / 1.213 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.3855, allocations: 176.3 kB / 1.213 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.3855, allocations: 112.9 kB / 1.213 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000213/0.3857, allocations: 239 kB / 1.214 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3857, allocations: 0 / 1.214 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002435/0.386, allocations: 27.91 kB / 1.214 GB, free: 5.121 MB / 0.9669 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.0003241/0.3863, allocations: 0.8281 MB / 1.214 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.906e-05/0.3864, allocations: 27.86 kB / 1.214 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3864, allocations: 0 / 1.214 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.965e-06/0.3864, allocations: 4 kB / 1.214 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006625/0.3871, allocations: 0.5924 MB / 1.215 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.3893, allocations: 2.568 MB / 1.218 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3895, allocations: 0.7482 MB / 1.218 GB, free: 184 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.381e-05/0.3896, allocations: 30.27 kB / 1.218 GB, free: 152 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.3897, allocations: 59.42 kB / 1.218 GB, free: 92 kB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3897, allocations: 0 / 1.218 GB, free: 92 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7985/1.188, allocations: 4.441 MB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/1.189, allocations: 217.8 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/3.648, allocations: 1.75 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches