Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_11_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.007401/0.007401, allocations: 98.8 kB / 15.73 MB, free: 6.043 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.002149/0.002149, allocations: 193.8 kB / 16.67 MB, free: 5.965 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.888/2.888, allocations: 469.8 MB / 0.7425 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2711, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.6553/0.9265, allocations: 148 MB / 1.365 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005452/0.932, allocations: 4.651 MB / 1.369 GB, free: 13.52 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.9323, allocations: 11.09 kB / 1.369 GB, free: 13.52 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004571/0.9328, allocations: 166.6 kB / 1.369 GB, free: 13.4 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.9331, allocations: 83.31 kB / 1.37 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.9333, allocations: 61.36 kB / 1.37 GB, free: 13.32 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.9337, allocations: 306.4 kB / 1.37 GB, free: 13.17 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.9339, allocations: 148.6 kB / 1.37 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.9341, allocations: 110 kB / 1.37 GB, free: 13.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.9344, allocations: 153.8 kB / 1.37 GB, free: 12.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.9344, allocations: 17.03 kB / 1.37 GB, free: 12.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.694e-05/0.9345, allocations: 16.03 kB / 1.37 GB, free: 12.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.586e-05/0.9345, allocations: 69.78 kB / 1.37 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.9347, allocations: 107.7 kB / 1.37 GB, free: 12.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.935, allocations: 239.9 kB / 1.371 GB, free: 12.78 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.935, allocations: 0 / 1.371 GB, free: 12.78 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.392e-06/0.935, allocations: 0 / 1.371 GB, free: 12.78 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.935, allocations: 0 / 1.371 GB, free: 12.78 MB / 1.076 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.0005439/0.9355, allocations: 488.3 kB / 1.371 GB, free: 12.33 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.9356, allocations: 9.375 kB / 1.371 GB, free: 12.33 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.795e-05/0.9356, allocations: 60.19 kB / 1.371 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.9357, allocations: 31.06 kB / 1.371 GB, free: 12.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.9361, allocations: 272 kB / 1.372 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.9361, allocations: 16.84 kB / 1.372 GB, free: 12.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.9362, allocations: 23.34 kB / 1.372 GB, free: 12 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.9366, allocations: 309.1 kB / 1.372 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.9366, allocations: 5.156 kB / 1.372 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.9366, allocations: 10.91 kB / 1.372 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.9366, allocations: 6.75 kB / 1.372 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.9368, allocations: 124.6 kB / 1.372 GB, free: 11.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.9383, allocations: 1.967 MB / 1.374 GB, free: 9.859 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.167e-05/0.9384, allocations: 168.4 kB / 1.374 GB, free: 9.688 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.9384, allocations: 85.67 kB / 1.374 GB, free: 9.602 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.9385, allocations: 79.27 kB / 1.374 GB, free: 9.523 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.9385, allocations: 113.8 kB / 1.374 GB, free: 9.402 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.9385, allocations: 1.438 kB / 1.374 GB, free: 9.402 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 9.856e-05/0.9387, allocations: 56.31 kB / 1.374 GB, free: 9.352 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.9387, allocations: 129.2 kB / 1.375 GB, free: 9.215 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.9391, allocations: 331.5 kB / 1.375 GB, free: 9.039 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.9391, allocations: 29.7 kB / 1.375 GB, free: 9.004 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.9392, allocations: 159.3 kB / 1.375 GB, free: 8.867 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.069e-06/0.9393, allocations: 5.969 kB / 1.375 GB, free: 8.863 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.9393, allocations: 20.06 kB / 1.375 GB, free: 8.844 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.9395, allocations: 331 kB / 1.375 GB, free: 8.523 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.9395, allocations: 16.08 kB / 1.375 GB, free: 8.516 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-05/0.9396, allocations: 56.7 kB / 1.375 GB, free: 8.445 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.35e-05/0.9396, allocations: 69.23 kB / 1.375 GB, free: 8.367 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9397, allocations: 1.125 kB / 1.375 GB, free: 8.367 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000179/0.9398, allocations: 109.5 kB / 1.376 GB, free: 8.297 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.9399, allocations: 8.953 kB / 1.376 GB, free: 8.297 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.9399, allocations: 1.562 kB / 1.376 GB, free: 8.297 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.9399, allocations: 10.12 kB / 1.376 GB, free: 8.289 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.94, allocations: 12.06 kB / 1.376 GB, free: 8.289 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.94, allocations: 8.953 kB / 1.376 GB, free: 8.285 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.18e-05/0.9401, allocations: 23.84 kB / 1.376 GB, free: 8.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.9401, allocations: 3.125 kB / 1.376 GB, free: 8.27 MB / 1.076 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.0001453/0.9402, allocations: 212.5 kB / 1.376 GB, free: 8.066 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/0.9403, allocations: 126.8 kB / 1.376 GB, free: 7.949 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.431e-05/0.9404, allocations: 139.2 kB / 1.376 GB, free: 7.812 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.788e-05/0.9405, allocations: 177.4 kB / 1.376 GB, free: 7.633 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.13e-05/0.9406, allocations: 185.3 kB / 1.376 GB, free: 7.445 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-05/0.9407, allocations: 180.1 kB / 1.377 GB, free: 7.266 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.941, allocations: 474.4 kB / 1.377 GB, free: 6.801 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.074e-05/0.9411, allocations: 110.5 kB / 1.377 GB, free: 6.688 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.9411, allocations: 101 kB / 1.377 GB, free: 6.582 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-05/0.9412, allocations: 187.9 kB / 1.377 GB, free: 6.395 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-05/0.9413, allocations: 181.6 kB / 1.378 GB, free: 6.211 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.741e-05/0.9414, allocations: 176.5 kB / 1.378 GB, free: 6.031 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.953e-05/0.9415, allocations: 187.9 kB / 1.378 GB, free: 5.844 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.9416, allocations: 329.7 kB / 1.378 GB, free: 5.512 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.9418, allocations: 209.8 kB / 1.379 GB, free: 5.293 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.9419, allocations: 181.7 kB / 1.379 GB, free: 5.109 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.942, allocations: 109.3 kB / 1.379 GB, free: 5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/0.9421, allocations: 181.5 kB / 1.379 GB, free: 4.816 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/0.9422, allocations: 104.9 kB / 1.379 GB, free: 4.707 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002452/0.9424, allocations: 242.4 kB / 1.379 GB, free: 4.578 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9424, allocations: 3.938 kB / 1.379 GB, free: 4.574 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000285/0.9427, allocations: 24.38 kB / 1.379 GB, free: 4.574 MB / 1.076 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.000451/0.9432, allocations: 0.8311 MB / 1.38 GB, free: 3.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.779e-05/0.9433, allocations: 37.64 kB / 1.38 GB, free: 3.73 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.9433, allocations: 3.938 kB / 1.38 GB, free: 3.727 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.9433, allocations: 0 / 1.38 GB, free: 3.727 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007358/0.944, allocations: 0.5183 MB / 1.381 GB, free: 3.262 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.9466, allocations: 2.519 MB / 1.383 GB, free: 1.441 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.947, allocations: 0.7448 MB / 1.384 GB, free: 0.7383 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.203e-05/0.9471, allocations: 32.8 kB / 1.384 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.704e-05/0.9472, allocations: 60.78 kB / 1.384 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of SimCode: time 2.41e-07/0.9472, allocations: 0 / 1.384 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.9725, allocations: 4.802 MB / 1.389 GB, free: 14.54 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/8.72, allocations: 8.047 kB / 1.389 GB, free: 14.54 MB / 1.092 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches