Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_11_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.002221/0.002221, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 192 kB / 16.53 MB, free: 6.391 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.224/1.224, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.393/2.393, allocations: 469.8 MB / 0.7424 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 68.73 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2315, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1418/0.3734, allocations: 148 MB / 1.209 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00445/0.3779, allocations: 4.658 MB / 1.213 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.378, allocations: 4 kB / 1.213 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.3784, allocations: 166.8 kB / 1.213 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.3787, allocations: 83.45 kB / 1.213 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.3788, allocations: 71.89 kB / 1.213 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.3791, allocations: 298.9 kB / 1.214 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.3794, allocations: 147.7 kB / 1.214 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.3795, allocations: 111.6 kB / 1.214 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.3797, allocations: 155.4 kB / 1.214 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.3797, allocations: 16 kB / 1.214 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.848e-05/0.3798, allocations: 16 kB / 1.214 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.3799, allocations: 63.83 kB / 1.214 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.16e-05/0.38, allocations: 99.48 kB / 1.214 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3802, allocations: 231.4 kB / 1.215 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3802, allocations: 4 kB / 1.215 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3802, allocations: 0 / 1.215 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.3802, allocations: 0 / 1.215 GB, free: 3.48 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.000439/0.3806, allocations: 495.1 kB / 1.215 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3807, allocations: 8.031 kB / 1.215 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.3807, allocations: 58.67 kB / 1.215 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.3808, allocations: 24.66 kB / 1.215 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.381, allocations: 251.9 kB / 1.215 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.381, allocations: 16.81 kB / 1.215 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.3811, allocations: 24.38 kB / 1.215 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.3814, allocations: 312.8 kB / 1.216 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3814, allocations: 0 / 1.216 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.3815, allocations: 15.98 kB / 1.216 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.3815, allocations: 8 kB / 1.216 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.3817, allocations: 119.7 kB / 1.216 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.3828, allocations: 1.969 MB / 1.218 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.526e-05/0.3829, allocations: 169.1 kB / 1.218 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.383, allocations: 84.14 kB / 1.218 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.383, allocations: 75.28 kB / 1.218 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.3831, allocations: 113.8 kB / 1.218 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.3831, allocations: 7.875 kB / 1.218 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.944e-05/0.3831, allocations: 53.36 kB / 1.218 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3832, allocations: 126.7 kB / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.3835, allocations: 332.5 kB / 1.219 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.3835, allocations: 25.7 kB / 1.219 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3836, allocations: 167.6 kB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.3837, allocations: 0 / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.3837, allocations: 29.62 kB / 1.219 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3838, allocations: 330.8 kB / 1.219 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.3838, allocations: 12 kB / 1.219 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.928e-05/0.3839, allocations: 62.78 kB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.955e-05/0.384, allocations: 66.81 kB / 1.219 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.384, allocations: 4 kB / 1.219 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001466/0.3841, allocations: 105.2 kB / 1.219 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.3841, allocations: 4 kB / 1.219 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.3842, allocations: 7.938 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.3842, allocations: 0 / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.3842, allocations: 12 kB / 1.219 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.3842, allocations: 11.92 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/0.3843, allocations: 27.94 kB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3843, allocations: 8 kB / 1.22 GB, free: 14.01 MB / 0.9825 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.0001144/0.3844, allocations: 201.1 kB / 1.22 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/0.3845, allocations: 136.6 kB / 1.22 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.249e-05/0.3846, allocations: 126 kB / 1.22 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.899e-05/0.3847, allocations: 176.3 kB / 1.22 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.719e-05/0.3847, allocations: 192.2 kB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.064e-05/0.3848, allocations: 176.3 kB / 1.22 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.3851, allocations: 481.1 kB / 1.221 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.13e-05/0.3851, allocations: 109 kB / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.3852, allocations: 101 kB / 1.221 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-05/0.3852, allocations: 184.2 kB / 1.221 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/0.3853, allocations: 184.2 kB / 1.221 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.359e-05/0.3854, allocations: 184.2 kB / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.917e-05/0.3854, allocations: 176.3 kB / 1.222 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.3856, allocations: 327.5 kB / 1.222 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3857, allocations: 206.1 kB / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.8e-05/0.3858, allocations: 192.1 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.3859, allocations: 101 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.386, allocations: 184.2 kB / 1.223 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.386, allocations: 104.9 kB / 1.223 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002084/0.3862, allocations: 243 kB / 1.223 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3862, allocations: 4 kB / 1.223 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002197/0.3864, allocations: 27.94 kB / 1.223 GB, free: 10.05 MB / 0.9825 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.000375/0.3868, allocations: 0.8292 MB / 1.224 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.158e-05/0.3869, allocations: 31.98 kB / 1.224 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3869, allocations: 8 kB / 1.224 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.3869, allocations: 0 / 1.224 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/0.3875, allocations: 0.5138 MB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.3897, allocations: 2.518 MB / 1.227 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.39, allocations: 0.748 MB / 1.228 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.315e-05/0.3901, allocations: 26.28 kB / 1.228 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.222e-05/0.3902, allocations: 67.34 kB / 1.228 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.3902, allocations: 3.938 kB / 1.228 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.02/6.41, allocations: 4.727 MB / 1.232 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.054/15.46, allocations: 3.938 kB / 1.232 GB, free: 0.5312 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches