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.006709/0.006709, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001638/0.001638, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.4 MB, free: 15.15 MB / 206.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.223/2.223, allocations: 390.3 MB / 0.6648 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 0.9504 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6752/0.6766, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.193/0.8696, allocations: 174 MB / 1.257 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009752/0.8794, allocations: 9.523 MB / 1.267 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.8797, allocations: 11.88 kB / 1.267 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.8804, allocations: 190.7 kB / 1.267 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.8807, allocations: 95.31 kB / 1.267 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.881, allocations: 67.92 kB / 1.267 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004358/0.8814, allocations: 330.7 kB / 1.267 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/0.8818, allocations: 204.9 kB / 1.268 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.8822, allocations: 159.4 kB / 1.268 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.8823, allocations: 131.4 kB / 1.268 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.8824, allocations: 20 kB / 1.268 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.856e-05/0.8824, allocations: 24 kB / 1.268 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.8825, allocations: 71.81 kB / 1.268 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.8827, allocations: 123.4 kB / 1.268 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.883, allocations: 301.3 kB / 1.268 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.883, allocations: 4 kB / 1.268 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.22e-07/0.883, allocations: 0 / 1.268 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.883, allocations: 0 / 1.268 GB, free: 4.406 MB / 0.9981 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.0004817/0.8835, allocations: 0.5181 MB / 1.269 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.8835, allocations: 8.031 kB / 1.269 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.077e-05/0.8836, allocations: 62.55 kB / 1.269 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.8837, allocations: 27.8 kB / 1.269 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.8841, allocations: 294.4 kB / 1.269 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.8841, allocations: 20.55 kB / 1.269 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.8841, allocations: 28 kB / 1.269 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.8846, allocations: 331.8 kB / 1.27 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.8846, allocations: 0 / 1.27 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.8846, allocations: 12 kB / 1.27 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.8846, allocations: 11.94 kB / 1.27 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.8849, allocations: 135.8 kB / 1.27 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.8861, allocations: 1.816 MB / 1.272 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.672e-05/0.8862, allocations: 173.1 kB / 1.272 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/0.8862, allocations: 88.02 kB / 1.272 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.8862, allocations: 75.28 kB / 1.272 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.8863, allocations: 109.8 kB / 1.272 GB, free: 468 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.8863, allocations: 0 / 1.272 GB, free: 468 kB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001062/0.8864, allocations: 49.56 kB / 1.272 GB, free: 412 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.8864, allocations: 134.7 kB / 1.272 GB, free: 264 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.8868, allocations: 373.6 kB / 1.273 GB, free: 15.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.8869, allocations: 25.7 kB / 1.273 GB, free: 15.86 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.887, allocations: 167.9 kB / 1.273 GB, free: 15.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.887, allocations: 4 kB / 1.273 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.887, allocations: 17.72 kB / 1.273 GB, free: 15.66 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8871, allocations: 334.8 kB / 1.273 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.8872, allocations: 7.938 kB / 1.273 GB, free: 15.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.8872, allocations: 40.28 kB / 1.273 GB, free: 15.26 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.955e-05/0.8873, allocations: 48.23 kB / 1.273 GB, free: 15.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.8873, allocations: 112 / 1.273 GB, free: 15.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001411/0.8874, allocations: 97.25 kB / 1.273 GB, free: 15.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.8874, allocations: 10.19 kB / 1.273 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.8875, allocations: 128 / 1.273 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.8875, allocations: 8 kB / 1.273 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.294e-05/0.8875, allocations: 4 kB / 1.273 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.8875, allocations: 4 kB / 1.273 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.8876, allocations: 23.94 kB / 1.273 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.8876, allocations: 7.984 kB / 1.273 GB, free: 15.04 MB / 1.014 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.000119/0.8878, allocations: 209.1 kB / 1.274 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.461e-05/0.8879, allocations: 144.7 kB / 1.274 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.758e-05/0.8879, allocations: 127 kB / 1.274 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.122e-05/0.888, allocations: 180.2 kB / 1.274 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.409e-05/0.888, allocations: 180.3 kB / 1.274 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.241e-05/0.8881, allocations: 176.3 kB / 1.274 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.8884, allocations: 0.4931 MB / 1.275 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.128e-05/0.8884, allocations: 101 kB / 1.275 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.8885, allocations: 108.9 kB / 1.275 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.228e-05/0.8885, allocations: 180.3 kB / 1.275 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.8886, allocations: 180.3 kB / 1.275 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.801e-05/0.8886, allocations: 184.2 kB / 1.275 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.257e-05/0.8887, allocations: 180.2 kB / 1.276 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.8888, allocations: 335.5 kB / 1.276 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.8889, allocations: 213.9 kB / 1.276 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.752e-05/0.889, allocations: 184.5 kB / 1.276 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.8891, allocations: 105 kB / 1.276 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.8892, allocations: 188.2 kB / 1.277 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.8892, allocations: 101 kB / 1.277 GB, free: 11.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002516/0.8895, allocations: 267.2 kB / 1.277 GB, free: 11.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8895, allocations: 4 kB / 1.277 GB, free: 11.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002638/0.8898, allocations: 31.94 kB / 1.277 GB, free: 11.01 MB / 1.014 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.0003553/0.8901, allocations: 0.8398 MB / 1.278 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.33e-05/0.8902, allocations: 16.19 kB / 1.278 GB, free: 10.13 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8902, allocations: 4.062 kB / 1.278 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.8902, allocations: 0 / 1.278 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007637/0.891, allocations: 0.5478 MB / 1.278 GB, free: 9.566 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.8936, allocations: 2.694 MB / 1.281 GB, free: 6.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.8939, allocations: 0.7556 MB / 1.282 GB, free: 5.988 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.894, allocations: 30.97 kB / 1.282 GB, free: 5.957 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.8941, allocations: 75.41 kB / 1.282 GB, free: 5.883 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.8941, allocations: 0 / 1.282 GB, free: 5.883 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.9143, allocations: 5.911 MB / 1.288 GB, free: 140 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.388/8.302, allocations: 4.062 kB / 1.288 GB, free: 136 kB / 1.014 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