Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_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.0008804/0.0008804, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005337/0.005337, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.233/1.233, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.413/2.413, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002803, allocations: 7.781 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2239, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1481/0.372, allocations: 169.6 MB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007716/0.3798, allocations: 9.38 MB / 1.234 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.38, allocations: 15.94 kB / 1.234 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.3803, allocations: 151 kB / 1.234 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.3805, allocations: 79.5 kB / 1.234 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.3806, allocations: 55.95 kB / 1.234 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.381, allocations: 394.5 kB / 1.234 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.3813, allocations: 185.8 kB / 1.234 GB, free: 336 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.3815, allocations: 127.4 kB / 1.235 GB, free: 208 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.668e-05/0.3816, allocations: 87.45 kB / 1.235 GB, free: 120 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.3816, allocations: 4 kB / 1.235 GB, free: 116 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.977e-05/0.3816, allocations: 8 kB / 1.235 GB, free: 108 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.3817, allocations: 55.77 kB / 1.235 GB, free: 52 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.3818, allocations: 125.1 kB / 1.235 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.382, allocations: 262.9 kB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.382, allocations: 0 / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.382, allocations: 4 kB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.382, allocations: 0 / 1.235 GB, free: 15.66 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.0003715/0.3824, allocations: 471.1 kB / 1.236 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.3825, allocations: 11.97 kB / 1.236 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.864e-05/0.3825, allocations: 66.53 kB / 1.236 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.3826, allocations: 31.56 kB / 1.236 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3828, allocations: 272.2 kB / 1.236 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.3828, allocations: 16.56 kB / 1.236 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.3829, allocations: 24 kB / 1.236 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.3833, allocations: 324 kB / 1.236 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.3833, allocations: 7.938 kB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.3833, allocations: 12 kB / 1.236 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.3833, allocations: 11.94 kB / 1.236 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.3835, allocations: 143.7 kB / 1.236 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.3846, allocations: 1.812 MB / 1.238 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/0.3847, allocations: 169.1 kB / 1.238 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.3847, allocations: 92.02 kB / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3847, allocations: 75.28 kB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.3848, allocations: 113.8 kB / 1.239 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3848, allocations: 0 / 1.239 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.689e-05/0.3849, allocations: 57.39 kB / 1.239 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3849, allocations: 126.7 kB / 1.239 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.3853, allocations: 377.6 kB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.3853, allocations: 29.7 kB / 1.239 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3854, allocations: 167.8 kB / 1.239 GB, free: 11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.3854, allocations: 0 / 1.239 GB, free: 11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.3854, allocations: 9.719 kB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3855, allocations: 338.8 kB / 1.24 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.3855, allocations: 11.92 kB / 1.24 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.3856, allocations: 32.3 kB / 1.24 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.317e-05/0.3856, allocations: 44.23 kB / 1.24 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3856, allocations: 112 / 1.24 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001235/0.3858, allocations: 101.2 kB / 1.24 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.3858, allocations: 5.875 kB / 1.24 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3858, allocations: 3.984 kB / 1.24 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.3858, allocations: 4 kB / 1.24 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.3858, allocations: 8 kB / 1.24 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.3859, allocations: 3.938 kB / 1.24 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.3859, allocations: 31.53 kB / 1.24 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.3859, allocations: 4 kB / 1.24 GB, free: 10.36 MB / 0.9981 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.0001148/0.3861, allocations: 213.2 kB / 1.24 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.3861, allocations: 136.6 kB / 1.24 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.3862, allocations: 131 kB / 1.24 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-05/0.3862, allocations: 184.2 kB / 1.241 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.102e-05/0.3863, allocations: 176.3 kB / 1.241 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.078e-05/0.3864, allocations: 184.3 kB / 1.241 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.3866, allocations: 497 kB / 1.241 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.262e-05/0.3867, allocations: 101 kB / 1.241 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.3867, allocations: 108.9 kB / 1.242 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.955e-05/0.3868, allocations: 180.2 kB / 1.242 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.056e-05/0.3868, allocations: 176.3 kB / 1.242 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.402e-05/0.3869, allocations: 180.2 kB / 1.242 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.938e-05/0.3869, allocations: 184.3 kB / 1.242 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.387, allocations: 335.3 kB / 1.243 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.009e-05/0.3871, allocations: 209.8 kB / 1.243 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.3872, allocations: 180.2 kB / 1.243 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.745e-05/0.3873, allocations: 109 kB / 1.243 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.3874, allocations: 184.2 kB / 1.243 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.3874, allocations: 105 kB / 1.243 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002269/0.3876, allocations: 267.2 kB / 1.244 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3876, allocations: 0 / 1.244 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002283/0.3879, allocations: 32 kB / 1.244 GB, free: 6.352 MB / 0.9981 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.0003145/0.3882, allocations: 0.8356 MB / 1.244 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.75e-05/0.3883, allocations: 19.92 kB / 1.244 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3883, allocations: 0 / 1.244 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.3883, allocations: 4 kB / 1.244 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007301/0.389, allocations: 0.6166 MB / 1.245 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.3913, allocations: 2.771 MB / 1.248 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3916, allocations: 0.7521 MB / 1.248 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.732e-05/0.3917, allocations: 30.97 kB / 1.248 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.3918, allocations: 71.42 kB / 1.249 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3918, allocations: 4 kB / 1.249 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.054/6.446, allocations: 5.502 MB / 1.254 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/6.446, allocations: 223.7 kB / 1.254 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/9.036, allocations: 0 / 1.254 GB, free: 193.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches