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.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: "" <> 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.001519/0.001519, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001796/0.001796, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.435/2.435, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 71.64 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2302, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1252/0.3554, allocations: 146 MB / 1.195 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003972/0.3594, allocations: 4.611 MB / 1.199 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.3597, allocations: 7.938 kB / 1.199 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.3601, allocations: 139.2 kB / 1.2 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.3604, allocations: 75.58 kB / 1.2 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.3605, allocations: 55.95 kB / 1.2 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.3608, allocations: 302.8 kB / 1.2 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.361, allocations: 153.2 kB / 1.2 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.3612, allocations: 111.6 kB / 1.2 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.3614, allocations: 155.4 kB / 1.2 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.3614, allocations: 16 kB / 1.2 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.772e-05/0.3614, allocations: 16 kB / 1.2 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.3615, allocations: 63.81 kB / 1.2 GB, free: 448 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.325e-05/0.3616, allocations: 103.5 kB / 1.201 GB, free: 344 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.3618, allocations: 227.4 kB / 1.201 GB, free: 116 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3618, allocations: 0 / 1.201 GB, free: 116 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3618, allocations: 4 kB / 1.201 GB, free: 112 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3618, allocations: 0 / 1.201 GB, free: 112 kB / 0.9512 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.0003954/0.3622, allocations: 491.1 kB / 1.201 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3622, allocations: 12.62 kB / 1.201 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.3623, allocations: 54.72 kB / 1.201 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.3623, allocations: 28.66 kB / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.3626, allocations: 259.8 kB / 1.202 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3626, allocations: 20.75 kB / 1.202 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.3626, allocations: 20.38 kB / 1.202 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.363, allocations: 315.1 kB / 1.202 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.363, allocations: 0 / 1.202 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.363, allocations: 12 kB / 1.202 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.363, allocations: 4 kB / 1.202 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.3632, allocations: 127.7 kB / 1.202 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3642, allocations: 1.969 MB / 1.204 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.711e-05/0.3643, allocations: 169.1 kB / 1.204 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.3643, allocations: 80.14 kB / 1.204 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3644, allocations: 79.28 kB / 1.204 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3644, allocations: 109.8 kB / 1.204 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3644, allocations: 0 / 1.204 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.552e-05/0.3645, allocations: 57.3 kB / 1.204 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.3645, allocations: 126.7 kB / 1.205 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.3648, allocations: 328.5 kB / 1.205 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.3648, allocations: 29.64 kB / 1.205 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.3649, allocations: 167.6 kB / 1.205 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.3649, allocations: 0 / 1.205 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.365, allocations: 33.61 kB / 1.205 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.3651, allocations: 334.8 kB / 1.205 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.3651, allocations: 4 kB / 1.205 GB, free: 11 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.3651, allocations: 54.86 kB / 1.206 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.453e-05/0.3652, allocations: 74.78 kB / 1.206 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3652, allocations: 8 kB / 1.206 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001432/0.3653, allocations: 97.22 kB / 1.206 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3654, allocations: 11.98 kB / 1.206 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3654, allocations: 3.938 kB / 1.206 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3654, allocations: 4 kB / 1.206 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.3655, allocations: 12 kB / 1.206 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3655, allocations: 7.938 kB / 1.206 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.559e-05/0.3655, allocations: 27.94 kB / 1.206 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.3656, allocations: 4 kB / 1.206 GB, free: 10.65 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.000104/0.3657, allocations: 213.1 kB / 1.206 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.3657, allocations: 124.7 kB / 1.206 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.3658, allocations: 133.9 kB / 1.206 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.384e-05/0.3658, allocations: 180.2 kB / 1.206 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-05/0.3659, allocations: 184.2 kB / 1.207 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.249e-05/0.3659, allocations: 180.3 kB / 1.207 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.3662, allocations: 481.1 kB / 1.207 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/0.3662, allocations: 104.9 kB / 1.207 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.3662, allocations: 101.1 kB / 1.207 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.692e-05/0.3663, allocations: 188.2 kB / 1.208 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.3663, allocations: 184.2 kB / 1.208 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.643e-05/0.3664, allocations: 180.2 kB / 1.208 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.18e-05/0.3664, allocations: 184.2 kB / 1.208 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.3665, allocations: 323.5 kB / 1.208 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.029e-05/0.3666, allocations: 213.8 kB / 1.209 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.3667, allocations: 184.2 kB / 1.209 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.3668, allocations: 104.9 kB / 1.209 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.3669, allocations: 188.2 kB / 1.209 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.3669, allocations: 108.9 kB / 1.209 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001862/0.3671, allocations: 235 kB / 1.209 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3671, allocations: 4 kB / 1.209 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002367/0.3673, allocations: 24 kB / 1.209 GB, free: 6.676 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.0002876/0.3676, allocations: 0.828 MB / 1.21 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.542e-05/0.3677, allocations: 32.12 kB / 1.21 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.3677, allocations: 0 / 1.21 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.3677, allocations: 0 / 1.21 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006264/0.3683, allocations: 0.5246 MB / 1.211 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.3703, allocations: 2.553 MB / 1.213 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.3706, allocations: 0.748 MB / 1.214 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.243e-05/0.3707, allocations: 30.28 kB / 1.214 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.3707, allocations: 55.42 kB / 1.214 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of SimCode: time 2.01e-07/0.3707, allocations: 0 / 1.214 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.722/1.093, allocations: 4.653 MB / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002789/1.093, allocations: 213.5 kB / 1.219 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.922/6.015, allocations: 2.125 kB / 1.219 GB, free: 13.01 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