Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_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.0007724/0.0007724, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005171/0.005171, allocations: 169.7 kB / 16.27 MB, free: 6.648 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.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.12/2.12, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002898/0.0002899, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.526/0.5263, allocations: 142.4 MB / 0.9552 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1384/0.6648, allocations: 143.9 MB / 1.096 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00456/0.6694, allocations: 4.553 MB / 1.1 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.6696, allocations: 8 kB / 1.1 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.67, allocations: 131.1 kB / 1.1 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.6703, allocations: 79.56 kB / 1.1 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.6705, allocations: 59.94 kB / 1.1 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.6708, allocations: 366.5 kB / 1.101 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.6711, allocations: 136.1 kB / 1.101 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.6713, allocations: 83.59 kB / 1.101 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.6715, allocations: 143.3 kB / 1.101 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.6715, allocations: 4 kB / 1.101 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.427e-05/0.6715, allocations: 8 kB / 1.101 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/0.6716, allocations: 51.77 kB / 1.101 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.918e-05/0.6717, allocations: 113.2 kB / 1.101 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.6719, allocations: 209.4 kB / 1.101 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6719, allocations: 4 kB / 1.101 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6719, allocations: 0 / 1.101 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.6719, allocations: 0 / 1.101 GB, free: 8.965 MB / 0.8575 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.0003917/0.6723, allocations: 447.2 kB / 1.102 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.6724, allocations: 12.03 kB / 1.102 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.583e-05/0.6724, allocations: 62.72 kB / 1.102 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.6725, allocations: 24.66 kB / 1.102 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.6727, allocations: 260.4 kB / 1.102 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.6728, allocations: 16.81 kB / 1.102 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.6728, allocations: 20.38 kB / 1.102 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.6732, allocations: 300.9 kB / 1.103 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.6732, allocations: 7.938 kB / 1.103 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.6732, allocations: 12 kB / 1.103 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.6732, allocations: 8 kB / 1.103 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.6734, allocations: 123.7 kB / 1.103 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.6747, allocations: 1.969 MB / 1.105 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.337e-05/0.6747, allocations: 173.1 kB / 1.105 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.6748, allocations: 84.14 kB / 1.105 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.6748, allocations: 79.27 kB / 1.105 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.6749, allocations: 109.8 kB / 1.105 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.6749, allocations: 0 / 1.105 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.42e-05/0.675, allocations: 57.36 kB / 1.105 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.675, allocations: 130.6 kB / 1.105 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.6754, allocations: 332.5 kB / 1.106 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.6754, allocations: 25.7 kB / 1.106 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.698e-05/0.6755, allocations: 155.7 kB / 1.106 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/0.6755, allocations: 4 kB / 1.106 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.6755, allocations: 13.72 kB / 1.106 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.6756, allocations: 334.8 kB / 1.106 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.6757, allocations: 11.98 kB / 1.106 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.151e-05/0.6757, allocations: 50.88 kB / 1.106 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.768e-05/0.6758, allocations: 82.67 kB / 1.106 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6758, allocations: 0 / 1.106 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001574/0.676, allocations: 109.2 kB / 1.106 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.676, allocations: 5.562 kB / 1.106 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.676, allocations: 7.938 kB / 1.106 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.676, allocations: 0 / 1.106 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.6761, allocations: 15.98 kB / 1.106 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.6761, allocations: 4 kB / 1.106 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.6762, allocations: 27.69 kB / 1.106 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.6762, allocations: 4 kB / 1.106 GB, free: 3.551 MB / 0.8575 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.000113/0.6763, allocations: 217.3 kB / 1.107 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/0.6764, allocations: 124.7 kB / 1.107 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.6765, allocations: 126 kB / 1.107 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.794e-05/0.6765, allocations: 180.2 kB / 1.107 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-05/0.6766, allocations: 180.2 kB / 1.107 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.866e-05/0.6766, allocations: 188.2 kB / 1.107 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.6769, allocations: 473.1 kB / 1.108 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.252e-05/0.677, allocations: 105 kB / 1.108 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.677, allocations: 108.9 kB / 1.108 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.06e-05/0.6771, allocations: 184.3 kB / 1.108 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.6771, allocations: 184.1 kB / 1.108 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.545e-05/0.6772, allocations: 180.3 kB / 1.109 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.682e-05/0.6772, allocations: 184.4 kB / 1.109 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.6774, allocations: 327.5 kB / 1.109 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.6775, allocations: 209.7 kB / 1.109 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/0.6776, allocations: 184.2 kB / 1.109 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.6777, allocations: 108.9 kB / 1.109 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.6777, allocations: 176.3 kB / 1.11 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.6778, allocations: 109 kB / 1.11 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002144/0.678, allocations: 235 kB / 1.11 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.678, allocations: 0 / 1.11 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002483/0.6783, allocations: 27.94 kB / 1.11 GB, free: 15.6 MB / 0.8731 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.000359/0.6786, allocations: 0.8357 MB / 1.111 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.561e-05/0.6787, allocations: 23.92 kB / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6787, allocations: 0.5 kB / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.6787, allocations: 0 / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.6794, allocations: 0.5932 MB / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.6818, allocations: 2.579 MB / 1.114 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.6821, allocations: 0.7443 MB / 1.115 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.156e-05/0.6822, allocations: 30.27 kB / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.6822, allocations: 59.41 kB / 1.115 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/0.6823, allocations: 4 kB / 1.115 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.988/2.671, allocations: 4.438 MB / 1.119 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/2.671, allocations: 208.8 kB / 1.119 GB, free: 6.043 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/4.358, allocations: 4 kB / 1.119 GB, free: 6.039 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches