Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_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.00148/0.00148, allocations: 108 kB / 15.6 MB, free: 132 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.00168/0.00168, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.675/2.675, allocations: 469.4 MB / 0.742 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.66 kB / 0.9083 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2391, allocations: 159.1 MB / 1.064 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1376/0.3767, allocations: 148 MB / 1.208 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004705/0.3814, allocations: 4.654 MB / 1.213 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.3817, allocations: 4 kB / 1.213 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004411/0.3822, allocations: 166.8 kB / 1.213 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.3825, allocations: 87.44 kB / 1.213 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.3827, allocations: 67.91 kB / 1.213 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.3831, allocations: 294.9 kB / 1.213 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002834/0.3834, allocations: 151.6 kB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.3835, allocations: 111.6 kB / 1.214 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.3838, allocations: 155.4 kB / 1.214 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.3838, allocations: 16 kB / 1.214 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.601e-05/0.3838, allocations: 16 kB / 1.214 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.924e-05/0.3839, allocations: 67.8 kB / 1.214 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.996e-05/0.384, allocations: 99.48 kB / 1.214 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.3843, allocations: 231.4 kB / 1.214 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3843, allocations: 3.938 kB / 1.214 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3843, allocations: 0 / 1.214 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.3843, allocations: 4 kB / 1.214 GB, free: 3.742 MB / 0.9669 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.0004332/0.3847, allocations: 488.9 kB / 1.215 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3848, allocations: 8.031 kB / 1.215 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.592e-05/0.3848, allocations: 58.72 kB / 1.215 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.3849, allocations: 24.66 kB / 1.215 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.3851, allocations: 266.2 kB / 1.215 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3852, allocations: 16.81 kB / 1.215 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.3852, allocations: 20.38 kB / 1.215 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.3856, allocations: 312.8 kB / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3856, allocations: 0 / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.3856, allocations: 12 kB / 1.215 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.3856, allocations: 11.94 kB / 1.215 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.3858, allocations: 119.8 kB / 1.215 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.3869, allocations: 1.969 MB / 1.217 GB, free: 216 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.609e-05/0.387, allocations: 173.1 kB / 1.218 GB, free: 32 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/0.3871, allocations: 80.14 kB / 1.218 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.3871, allocations: 75.28 kB / 1.218 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.3871, allocations: 109.8 kB / 1.218 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3872, allocations: 4 kB / 1.218 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.523e-05/0.3872, allocations: 53.36 kB / 1.218 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.3873, allocations: 130.6 kB / 1.218 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.3876, allocations: 332.5 kB / 1.218 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.3876, allocations: 25.7 kB / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3877, allocations: 163.6 kB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.3878, allocations: 0 / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.3878, allocations: 29.61 kB / 1.218 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.3879, allocations: 334.8 kB / 1.219 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.3879, allocations: 7.984 kB / 1.219 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.388, allocations: 58.81 kB / 1.219 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.122e-05/0.388, allocations: 70.8 kB / 1.219 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3881, allocations: 0 / 1.219 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001615/0.3882, allocations: 105.2 kB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3882, allocations: 4 kB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3883, allocations: 7.938 kB / 1.219 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3883, allocations: 0 / 1.219 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.3883, allocations: 19.92 kB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3884, allocations: 4 kB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.887e-05/0.3885, allocations: 27.69 kB / 1.219 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.3885, allocations: 4.25 kB / 1.219 GB, free: 14.3 MB / 0.9825 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.0001127/0.3886, allocations: 213.1 kB / 1.219 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.3887, allocations: 132.6 kB / 1.219 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.3887, allocations: 126 kB / 1.22 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-05/0.3888, allocations: 176.3 kB / 1.22 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.987e-05/0.3888, allocations: 188.2 kB / 1.22 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-05/0.3889, allocations: 188.2 kB / 1.22 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.3892, allocations: 485.1 kB / 1.221 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.778e-05/0.3892, allocations: 105 kB / 1.221 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.3892, allocations: 101 kB / 1.221 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-05/0.3893, allocations: 180.2 kB / 1.221 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.3893, allocations: 184.2 kB / 1.221 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-05/0.3894, allocations: 184.2 kB / 1.221 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.842e-05/0.3895, allocations: 184.2 kB / 1.221 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.3896, allocations: 319.5 kB / 1.222 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.235e-05/0.3897, allocations: 210.1 kB / 1.222 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.891e-05/0.3898, allocations: 192.1 kB / 1.222 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/0.3899, allocations: 105 kB / 1.222 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.3899, allocations: 192.2 kB / 1.222 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.39, allocations: 101 kB / 1.222 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002117/0.3902, allocations: 239 kB / 1.223 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3902, allocations: 0 / 1.223 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002704/0.3905, allocations: 24 kB / 1.223 GB, free: 10.32 MB / 0.9825 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.0003234/0.3908, allocations: 0.8362 MB / 1.224 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.14e-05/0.3909, allocations: 20.31 kB / 1.224 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3909, allocations: 8.125 kB / 1.224 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.3909, allocations: 4 kB / 1.224 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000693/0.3916, allocations: 0.5144 MB / 1.224 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.3938, allocations: 2.525 MB / 1.227 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.3941, allocations: 0.744 MB / 1.227 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.942e-05/0.3942, allocations: 26.28 kB / 1.227 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.3943, allocations: 63.42 kB / 1.227 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3943, allocations: 0 / 1.227 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.4137, allocations: 4.731 MB / 1.232 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.535, allocations: 1.719 kB / 1.232 GB, free: 0.8125 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches