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.001297/0.001297, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001343/0.001343, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.504/2.504, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 62.38 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2301, allocations: 157.4 MB / 1.052 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1333/0.3635, allocations: 145.8 MB / 1.195 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004184/0.3677, allocations: 4.623 MB / 1.199 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.3679, allocations: 11.94 kB / 1.199 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.3683, allocations: 131.2 kB / 1.199 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.3685, allocations: 71.56 kB / 1.199 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.3687, allocations: 51.95 kB / 1.199 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.369, allocations: 358.8 kB / 1.2 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.3692, allocations: 140.1 kB / 1.2 GB, free: 472 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3694, allocations: 103.5 kB / 1.2 GB, free: 368 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.3696, allocations: 159.4 kB / 1.2 GB, free: 208 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.3696, allocations: 12 kB / 1.2 GB, free: 196 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.022e-05/0.3697, allocations: 16 kB / 1.2 GB, free: 180 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.3697, allocations: 55.83 kB / 1.2 GB, free: 124 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.969e-05/0.3698, allocations: 99.47 kB / 1.2 GB, free: 24 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.37, allocations: 223.4 kB / 1.201 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.37, allocations: 0 / 1.201 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.72e-07/0.37, allocations: 0 / 1.201 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3701, allocations: 0 / 1.201 GB, free: 15.8 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.0004233/0.3705, allocations: 491.2 kB / 1.201 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3705, allocations: 15.97 kB / 1.201 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.479e-05/0.3706, allocations: 62.72 kB / 1.201 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.3706, allocations: 32.59 kB / 1.201 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.3709, allocations: 255.9 kB / 1.201 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.3709, allocations: 16.81 kB / 1.201 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3709, allocations: 24.36 kB / 1.201 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.3713, allocations: 307.1 kB / 1.202 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.3713, allocations: 3.938 kB / 1.202 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.3713, allocations: 12 kB / 1.202 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3713, allocations: 4 kB / 1.202 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.3715, allocations: 131.7 kB / 1.202 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.3726, allocations: 1.965 MB / 1.204 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/0.3727, allocations: 169.1 kB / 1.204 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.3727, allocations: 84.14 kB / 1.204 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3727, allocations: 75.28 kB / 1.204 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.3728, allocations: 109.8 kB / 1.204 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3728, allocations: 0 / 1.204 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.821e-05/0.3729, allocations: 61.33 kB / 1.204 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.3729, allocations: 130.7 kB / 1.204 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.3732, allocations: 328.5 kB / 1.205 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.3733, allocations: 25.7 kB / 1.205 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3734, allocations: 171.5 kB / 1.205 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.3734, allocations: 3.984 kB / 1.205 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.3734, allocations: 21.62 kB / 1.205 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3735, allocations: 338.8 kB / 1.205 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.3735, allocations: 4 kB / 1.205 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.998e-05/0.3736, allocations: 58.86 kB / 1.205 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.749e-05/0.3737, allocations: 70.75 kB / 1.205 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3737, allocations: 0 / 1.205 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001496/0.3738, allocations: 101.2 kB / 1.205 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3738, allocations: 12.23 kB / 1.205 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3738, allocations: 7.938 kB / 1.205 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3739, allocations: 4 kB / 1.205 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.223e-05/0.3739, allocations: 12 kB / 1.205 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3739, allocations: 3.938 kB / 1.205 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.374, allocations: 27.69 kB / 1.205 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.374, allocations: 4 kB / 1.205 GB, free: 10.34 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.0001117/0.3741, allocations: 213.1 kB / 1.206 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/0.3742, allocations: 120.7 kB / 1.206 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.3743, allocations: 141.9 kB / 1.206 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.562e-05/0.3743, allocations: 176.3 kB / 1.206 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.983e-05/0.3744, allocations: 180.2 kB / 1.206 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.495e-05/0.3745, allocations: 180.3 kB / 1.206 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.3747, allocations: 477.1 kB / 1.207 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.74e-05/0.3747, allocations: 108.9 kB / 1.207 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.3748, allocations: 101 kB / 1.207 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.6e-05/0.3748, allocations: 188.1 kB / 1.207 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.3749, allocations: 184.2 kB / 1.207 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.021e-05/0.3749, allocations: 180.2 kB / 1.208 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-05/0.375, allocations: 184.2 kB / 1.208 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.3751, allocations: 331.5 kB / 1.208 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.761e-05/0.3752, allocations: 205.8 kB / 1.208 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.51e-05/0.3753, allocations: 180.5 kB / 1.208 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.3754, allocations: 112.9 kB / 1.209 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.3755, allocations: 184.3 kB / 1.209 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.3755, allocations: 113 kB / 1.209 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002053/0.3757, allocations: 239 kB / 1.209 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3757, allocations: 0 / 1.209 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002514/0.376, allocations: 24 kB / 1.209 GB, free: 6.371 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.000321/0.3763, allocations: 0.8319 MB / 1.21 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.155e-05/0.3764, allocations: 27.88 kB / 1.21 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.3764, allocations: 0 / 1.21 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.3764, allocations: 0 / 1.21 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007036/0.3771, allocations: 0.5888 MB / 1.211 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.3794, allocations: 2.562 MB / 1.213 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3797, allocations: 0.7404 MB / 1.214 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.452e-05/0.3798, allocations: 30.28 kB / 1.214 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.105e-05/0.3799, allocations: 55.42 kB / 1.214 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3799, allocations: 0 / 1.214 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3527/0.7326, allocations: 4.534 MB / 1.218 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/0.7329, allocations: 215.7 kB / 1.218 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.73, allocations: 7.875 kB / 1.218 GB, free: 12.73 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