Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.001123/0.001123, allocations: 108 kB / 15.61 MB, free: 128 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.001114/0.001114, allocations: 198 kB / 16.53 MB, free: 6.668 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5094, allocations: 140.4 MB / 0.9497 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1601/0.6696, allocations: 174.1 MB / 1.12 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008779/0.6784, allocations: 9.515 MB / 1.129 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.6787, allocations: 11.94 kB / 1.129 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004869/0.6792, allocations: 190.7 kB / 1.129 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.6795, allocations: 95.3 kB / 1.129 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.6797, allocations: 63.92 kB / 1.129 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.68, allocations: 326.7 kB / 1.13 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.6804, allocations: 200.8 kB / 1.13 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.6807, allocations: 167.4 kB / 1.13 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.6808, allocations: 131.3 kB / 1.13 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.6809, allocations: 20 kB / 1.13 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.288e-05/0.6809, allocations: 24 kB / 1.13 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.681, allocations: 71.81 kB / 1.13 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.6811, allocations: 123.4 kB / 1.13 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.6814, allocations: 283 kB / 1.131 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6814, allocations: 4 kB / 1.131 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6814, allocations: 0 / 1.131 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.6814, allocations: 0 / 1.131 GB, free: 7.934 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004553/0.6819, allocations: 0.5106 MB / 1.131 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.6819, allocations: 15.97 kB / 1.131 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.92e-05/0.682, allocations: 62.55 kB / 1.131 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.6821, allocations: 31.66 kB / 1.131 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.6823, allocations: 270.4 kB / 1.131 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.6824, allocations: 16.56 kB / 1.131 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.6824, allocations: 32 kB / 1.132 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.6828, allocations: 320 kB / 1.132 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.6828, allocations: 7.938 kB / 1.132 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.6829, allocations: 12 kB / 1.132 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.6829, allocations: 11.92 kB / 1.132 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.6831, allocations: 139.8 kB / 1.132 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.6842, allocations: 1.804 MB / 1.134 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.6843, allocations: 169.1 kB / 1.134 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.6844, allocations: 92.08 kB / 1.134 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.6844, allocations: 75.42 kB / 1.134 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.6844, allocations: 117.8 kB / 1.134 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.6844, allocations: 3.938 kB / 1.134 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.69e-05/0.6845, allocations: 53.33 kB / 1.134 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.6846, allocations: 126.7 kB / 1.134 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.6849, allocations: 377.7 kB / 1.135 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.685, allocations: 25.7 kB / 1.135 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.6851, allocations: 167.8 kB / 1.135 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-06/0.6851, allocations: 7.969 kB / 1.135 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.6851, allocations: 17.72 kB / 1.135 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.6852, allocations: 334.8 kB / 1.135 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.6852, allocations: 4 kB / 1.135 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.053e-05/0.6853, allocations: 44.28 kB / 1.135 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.711e-05/0.6853, allocations: 44.17 kB / 1.135 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6854, allocations: 0 / 1.135 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001439/0.6855, allocations: 89.28 kB / 1.135 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.6855, allocations: 4 kB / 1.135 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.6855, allocations: 0 / 1.135 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.6855, allocations: 4 kB / 1.135 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.869e-05/0.6856, allocations: 11.94 kB / 1.135 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.6856, allocations: 0 / 1.135 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.389e-05/0.6857, allocations: 27.59 kB / 1.135 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.6857, allocations: 8 kB / 1.135 GB, free: 2.598 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001184/0.6858, allocations: 213.3 kB / 1.136 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.6859, allocations: 132.6 kB / 1.136 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.548e-05/0.686, allocations: 134.8 kB / 1.136 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.596e-05/0.686, allocations: 176.3 kB / 1.136 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-05/0.6861, allocations: 184.2 kB / 1.136 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.786e-05/0.6861, allocations: 184.3 kB / 1.136 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.6864, allocations: 497 kB / 1.137 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/0.6865, allocations: 104.9 kB / 1.137 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.6865, allocations: 105 kB / 1.137 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-05/0.6866, allocations: 180.2 kB / 1.137 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.6866, allocations: 176.3 kB / 1.137 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-05/0.6867, allocations: 192.3 kB / 1.138 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.008e-05/0.6867, allocations: 188.2 kB / 1.138 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.6869, allocations: 327.3 kB / 1.138 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-05/0.687, allocations: 213.7 kB / 1.138 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/0.6871, allocations: 188.2 kB / 1.139 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.743e-05/0.6872, allocations: 101 kB / 1.139 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.6872, allocations: 180.6 kB / 1.139 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.6872, allocations: 108.9 kB / 1.139 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002457/0.6875, allocations: 271.2 kB / 1.139 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6875, allocations: 0 / 1.139 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002655/0.6878, allocations: 27.94 kB / 1.139 GB, free: 14.57 MB / 0.9044 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.0003209/0.6881, allocations: 0.8435 MB / 1.14 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.243e-05/0.6882, allocations: 11.94 kB / 1.14 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6882, allocations: 4 kB / 1.14 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.6882, allocations: 4.312 kB / 1.14 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008161/0.689, allocations: 0.5492 MB / 1.141 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.6915, allocations: 2.695 MB / 1.143 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.6918, allocations: 0.7558 MB / 1.144 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.6919, allocations: 38.89 kB / 1.144 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.661e-05/0.692, allocations: 79.41 kB / 1.144 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of SimCode: time 3.437e-06/0.692, allocations: 0 / 1.144 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.7134, allocations: 5.825 MB / 1.15 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/8.069, allocations: 9.531 kB / 1.15 GB, free: 3.738 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches