Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_10_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.00184/0.00184, allocations: 108 kB / 15.61 MB, free: 152 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.002983/0.002983, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.177/1.177, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.158/2.158, allocations: 437 MB / 0.7104 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 68.03 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4372, allocations: 151.6 MB / 1.017 GB, free: 2.598 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1241/0.5613, allocations: 148 MB / 1.162 GB, free: 14.04 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003778/0.5651, allocations: 4.642 MB / 1.166 GB, free: 9.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.5653, allocations: 15.94 kB / 1.166 GB, free: 9.363 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.5657, allocations: 162.9 kB / 1.167 GB, free: 9.203 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.5659, allocations: 83.39 kB / 1.167 GB, free: 9.121 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.566, allocations: 67.86 kB / 1.167 GB, free: 9.055 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.5664, allocations: 302.9 kB / 1.167 GB, free: 8.758 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.5666, allocations: 155.6 kB / 1.167 GB, free: 8.602 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.5668, allocations: 107.6 kB / 1.167 GB, free: 8.496 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.5669, allocations: 155.4 kB / 1.167 GB, free: 8.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.567, allocations: 19.94 kB / 1.167 GB, free: 8.324 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.792e-05/0.567, allocations: 20 kB / 1.168 GB, free: 8.305 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.5671, allocations: 63.81 kB / 1.168 GB, free: 8.242 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.866e-05/0.5672, allocations: 103.5 kB / 1.168 GB, free: 8.141 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.5674, allocations: 225.4 kB / 1.168 GB, free: 7.922 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5674, allocations: 0 / 1.168 GB, free: 7.922 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5674, allocations: 0 / 1.168 GB, free: 7.922 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5674, allocations: 0 / 1.168 GB, free: 7.922 MB / 0.92 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.00042/0.5678, allocations: 487.1 kB / 1.168 GB, free: 7.398 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.5679, allocations: 8.031 kB / 1.168 GB, free: 7.391 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.343e-05/0.5679, allocations: 58.72 kB / 1.168 GB, free: 7.324 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.568, allocations: 32.66 kB / 1.168 GB, free: 7.293 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.5682, allocations: 259.7 kB / 1.169 GB, free: 7 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.5682, allocations: 16.81 kB / 1.169 GB, free: 6.984 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.5683, allocations: 24.31 kB / 1.169 GB, free: 6.961 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.5686, allocations: 300.9 kB / 1.169 GB, free: 6.609 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.5686, allocations: 3.938 kB / 1.169 GB, free: 6.605 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.5687, allocations: 12 kB / 1.169 GB, free: 6.594 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.5687, allocations: 7.984 kB / 1.169 GB, free: 6.586 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.5688, allocations: 127.8 kB / 1.169 GB, free: 6.461 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.5698, allocations: 1.969 MB / 1.171 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.891e-05/0.5699, allocations: 173.1 kB / 1.171 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.5699, allocations: 84.14 kB / 1.171 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.57, allocations: 75.28 kB / 1.171 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.57, allocations: 109.8 kB / 1.172 GB, free: 3.926 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.57, allocations: 0 / 1.172 GB, free: 3.926 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.202e-05/0.5701, allocations: 53.36 kB / 1.172 GB, free: 3.867 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.5701, allocations: 130.7 kB / 1.172 GB, free: 3.727 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.5704, allocations: 328.5 kB / 1.172 GB, free: 3.391 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.5704, allocations: 25.7 kB / 1.172 GB, free: 3.359 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.5705, allocations: 167.6 kB / 1.172 GB, free: 3.191 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.466e-06/0.5705, allocations: 7.922 kB / 1.172 GB, free: 3.184 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.5706, allocations: 21.75 kB / 1.172 GB, free: 3.156 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.5707, allocations: 338.8 kB / 1.173 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.5707, allocations: 4 kB / 1.173 GB, free: 2.812 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/0.5707, allocations: 58.86 kB / 1.173 GB, free: 2.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.861e-05/0.5708, allocations: 74.69 kB / 1.173 GB, free: 2.633 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5708, allocations: 0 / 1.173 GB, free: 2.633 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001384/0.5709, allocations: 101.3 kB / 1.173 GB, free: 2.527 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.571, allocations: 9.875 kB / 1.173 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.571, allocations: 12.19 kB / 1.173 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.571, allocations: 4 kB / 1.173 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.5711, allocations: 15.94 kB / 1.173 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5711, allocations: 0 / 1.173 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.5711, allocations: 31.59 kB / 1.173 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.5711, allocations: 4.156 kB / 1.173 GB, free: 2.453 MB / 0.92 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.0001046/0.5712, allocations: 213 kB / 1.173 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/0.5713, allocations: 124.7 kB / 1.173 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/0.5714, allocations: 138 kB / 1.173 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.932e-05/0.5714, allocations: 180.2 kB / 1.173 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.805e-05/0.5715, allocations: 176.3 kB / 1.174 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.666e-05/0.5715, allocations: 184.2 kB / 1.174 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.5718, allocations: 477.1 kB / 1.174 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/0.5718, allocations: 105 kB / 1.174 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.5718, allocations: 104.9 kB / 1.174 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-05/0.5719, allocations: 180.3 kB / 1.175 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.572, allocations: 184.1 kB / 1.175 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-05/0.572, allocations: 180.2 kB / 1.175 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-05/0.5721, allocations: 180.2 kB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.5722, allocations: 331.6 kB / 1.175 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.5723, allocations: 209.7 kB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.414e-05/0.5724, allocations: 180.2 kB / 1.176 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.5724, allocations: 105 kB / 1.176 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.5725, allocations: 188.2 kB / 1.176 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.5725, allocations: 105 kB / 1.176 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001847/0.5727, allocations: 235 kB / 1.176 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.172e-06/0.5727, allocations: 0 / 1.176 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002325/0.573, allocations: 35.78 kB / 1.176 GB, free: 14.5 MB / 0.9356 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.0002974/0.5733, allocations: 0.8322 MB / 1.177 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.891e-05/0.5733, allocations: 23.94 kB / 1.177 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5734, allocations: 0 / 1.177 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.5734, allocations: 0 / 1.177 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.574, allocations: 0.5252 MB / 1.178 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.576, allocations: 2.541 MB / 1.18 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.5762, allocations: 0.7401 MB / 1.181 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.651e-05/0.5763, allocations: 30.28 kB / 1.181 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.5764, allocations: 55.42 kB / 1.181 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.5764, allocations: 4 kB / 1.181 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.699/5.275, allocations: 4.727 MB / 1.186 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.251/14.53, allocations: 5.594 kB / 1.186 GB, free: 4.973 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches