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.001368/0.001368, 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.001147/0.001147, allocations: 195.2 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.529/2.529, allocations: 437 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 71.88 kB / 0.8694 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5315/0.5329, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1389/0.6718, allocations: 148 MB / 1.162 GB, free: 13.94 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004276/0.6761, allocations: 4.646 MB / 1.166 GB, free: 9.281 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.6763, allocations: 11.94 kB / 1.166 GB, free: 9.27 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.6767, allocations: 170.8 kB / 1.167 GB, free: 9.102 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.677, allocations: 87.38 kB / 1.167 GB, free: 9.016 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.6771, allocations: 63.92 kB / 1.167 GB, free: 8.953 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.6775, allocations: 298.9 kB / 1.167 GB, free: 8.66 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.6777, allocations: 161.1 kB / 1.167 GB, free: 8.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.6779, allocations: 107.6 kB / 1.167 GB, free: 8.395 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.6781, allocations: 163.4 kB / 1.167 GB, free: 8.234 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.6781, allocations: 16 kB / 1.168 GB, free: 8.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.15e-05/0.6781, allocations: 19.94 kB / 1.168 GB, free: 8.199 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.6782, allocations: 59.83 kB / 1.168 GB, free: 8.141 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.378e-05/0.6783, allocations: 103.5 kB / 1.168 GB, free: 8.039 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.6785, allocations: 229.4 kB / 1.168 GB, free: 7.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6785, allocations: 0 / 1.168 GB, free: 7.816 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6786, allocations: 0 / 1.168 GB, free: 7.816 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.6786, allocations: 0 / 1.168 GB, free: 7.816 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.0004152/0.679, allocations: 491.1 kB / 1.168 GB, free: 7.289 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.679, allocations: 8.031 kB / 1.168 GB, free: 7.281 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.6791, allocations: 58.72 kB / 1.168 GB, free: 7.215 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.6791, allocations: 24.66 kB / 1.168 GB, free: 7.191 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.6794, allocations: 265.3 kB / 1.169 GB, free: 6.895 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.6794, allocations: 16.81 kB / 1.169 GB, free: 6.879 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.6794, allocations: 24.38 kB / 1.169 GB, free: 6.855 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.6798, allocations: 300.8 kB / 1.169 GB, free: 6.504 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.6798, allocations: 4 kB / 1.169 GB, free: 6.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.6798, allocations: 12 kB / 1.169 GB, free: 6.488 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.6798, allocations: 4 kB / 1.169 GB, free: 6.484 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.68, allocations: 123.7 kB / 1.169 GB, free: 6.363 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.6811, allocations: 1.973 MB / 1.171 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.948e-05/0.6812, allocations: 173.1 kB / 1.171 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.6812, allocations: 80.14 kB / 1.171 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.6812, allocations: 79.28 kB / 1.171 GB, free: 3.941 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.6813, allocations: 105.8 kB / 1.172 GB, free: 3.828 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.6813, allocations: 4 kB / 1.172 GB, free: 3.824 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.779e-05/0.6814, allocations: 49.36 kB / 1.172 GB, free: 3.77 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.6814, allocations: 134.6 kB / 1.172 GB, free: 3.625 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.6817, allocations: 328.5 kB / 1.172 GB, free: 3.289 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.6818, allocations: 25.7 kB / 1.172 GB, free: 3.258 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.6819, allocations: 171.6 kB / 1.172 GB, free: 3.086 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-06/0.6819, allocations: 3.984 kB / 1.172 GB, free: 3.082 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.6819, allocations: 25.73 kB / 1.172 GB, free: 3.051 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.682, allocations: 338.8 kB / 1.173 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.6821, allocations: 4 kB / 1.173 GB, free: 2.707 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.6821, allocations: 58.86 kB / 1.173 GB, free: 2.625 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.752e-05/0.6822, allocations: 70.75 kB / 1.173 GB, free: 2.531 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6822, allocations: 0 / 1.173 GB, free: 2.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001586/0.6823, allocations: 105.2 kB / 1.173 GB, free: 2.422 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.6824, allocations: 8 kB / 1.173 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.6824, allocations: 7.875 kB / 1.173 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.6824, allocations: 4.25 kB / 1.173 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.6825, allocations: 16 kB / 1.173 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.6825, allocations: 0 / 1.173 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.6825, allocations: 31.59 kB / 1.173 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.6826, allocations: 4 kB / 1.173 GB, free: 2.352 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.0001123/0.6827, allocations: 213 kB / 1.173 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.6828, allocations: 124.7 kB / 1.173 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.609e-05/0.6828, allocations: 133.9 kB / 1.173 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.715e-05/0.6829, allocations: 184.3 kB / 1.173 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.845e-05/0.6829, allocations: 180.2 kB / 1.174 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.807e-05/0.683, allocations: 184.2 kB / 1.174 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.6832, allocations: 477.1 kB / 1.174 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.727e-05/0.6833, allocations: 104.9 kB / 1.174 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.6833, allocations: 109 kB / 1.174 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.361e-05/0.6834, allocations: 176.3 kB / 1.175 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.6834, allocations: 188.1 kB / 1.175 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-05/0.6835, allocations: 180.2 kB / 1.175 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.864e-05/0.6835, allocations: 184.2 kB / 1.175 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.6836, allocations: 323.6 kB / 1.175 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/0.6837, allocations: 209.7 kB / 1.176 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.6838, allocations: 180.2 kB / 1.176 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.286e-05/0.6839, allocations: 108.9 kB / 1.176 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.684, allocations: 180.3 kB / 1.176 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.684, allocations: 109 kB / 1.176 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002112/0.6842, allocations: 235 kB / 1.176 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.392e-06/0.6842, allocations: 3.938 kB / 1.176 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002672/0.6845, allocations: 35.78 kB / 1.176 GB, free: 14.39 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.0003165/0.6848, allocations: 0.8284 MB / 1.177 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.348e-05/0.6849, allocations: 23.94 kB / 1.177 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6849, allocations: 0 / 1.177 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.6849, allocations: 3.938 kB / 1.177 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007009/0.6856, allocations: 0.5203 MB / 1.178 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.6878, allocations: 2.526 MB / 1.18 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.6881, allocations: 0.748 MB / 1.181 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.749e-05/0.6882, allocations: 30.28 kB / 1.181 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.6882, allocations: 55.42 kB / 1.181 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.6882, allocations: 0 / 1.181 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.7068, allocations: 4.732 MB / 1.186 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.024/7.731, allocations: 8 kB / 1.186 GB, free: 4.871 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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