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.0013/0.0013, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001346/0.001346, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.489/2.489, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 61.41 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2251, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1533/0.3784, allocations: 171.9 MB / 1.22 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008187/0.3866, allocations: 9.512 MB / 1.229 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.3869, allocations: 11.94 kB / 1.229 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004421/0.3873, allocations: 147.1 kB / 1.229 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.3875, allocations: 95.36 kB / 1.23 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.3877, allocations: 55.97 kB / 1.23 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.388, allocations: 378.6 kB / 1.23 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.3883, allocations: 197.7 kB / 1.23 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.3886, allocations: 159.3 kB / 1.23 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.3887, allocations: 115.5 kB / 1.23 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.3888, allocations: 23.94 kB / 1.23 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.232e-05/0.3888, allocations: 20 kB / 1.23 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.597e-05/0.3889, allocations: 67.81 kB / 1.231 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.389, allocations: 127.3 kB / 1.231 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.3892, allocations: 263.1 kB / 1.231 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3892, allocations: 0 / 1.231 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3892, allocations: 3.984 kB / 1.231 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3893, allocations: 0 / 1.231 GB, free: 0.5625 MB / 0.9825 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.0004456/0.3897, allocations: 0.5146 MB / 1.231 GB, free: 16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3897, allocations: 15.97 kB / 1.231 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.3898, allocations: 62.53 kB / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.3899, allocations: 39.56 kB / 1.232 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.3901, allocations: 258.5 kB / 1.232 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.3901, allocations: 24.5 kB / 1.232 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.3902, allocations: 24 kB / 1.232 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.3906, allocations: 324 kB / 1.232 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3906, allocations: 0 / 1.232 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.3906, allocations: 16 kB / 1.232 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.3906, allocations: 11.94 kB / 1.232 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.3908, allocations: 143.7 kB / 1.232 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.3919, allocations: 1.808 MB / 1.234 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.335e-05/0.392, allocations: 177.1 kB / 1.234 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.392, allocations: 84.08 kB / 1.234 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.392, allocations: 75.28 kB / 1.234 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.3921, allocations: 105.8 kB / 1.234 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.3921, allocations: 0 / 1.234 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.349e-05/0.3921, allocations: 57.36 kB / 1.235 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.3922, allocations: 134.7 kB / 1.235 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.3925, allocations: 373.6 kB / 1.235 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.3926, allocations: 29.7 kB / 1.235 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.3927, allocations: 159.8 kB / 1.235 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.3927, allocations: 0 / 1.235 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.3927, allocations: 17.72 kB / 1.235 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3928, allocations: 342.9 kB / 1.236 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.3928, allocations: 11.92 kB / 1.236 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.3929, allocations: 32.3 kB / 1.236 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.3929, allocations: 48.17 kB / 1.236 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3929, allocations: 0 / 1.236 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001276/0.3931, allocations: 93.12 kB / 1.236 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.3931, allocations: 4 kB / 1.236 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3931, allocations: 7.984 kB / 1.236 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.3931, allocations: 0 / 1.236 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.176e-05/0.3932, allocations: 11.94 kB / 1.236 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3932, allocations: 4.156 kB / 1.236 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.3932, allocations: 31.62 kB / 1.236 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.3933, allocations: 4 kB / 1.236 GB, free: 11.21 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.0001136/0.3934, allocations: 209.1 kB / 1.236 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.3934, allocations: 136.5 kB / 1.236 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.3935, allocations: 130.9 kB / 1.236 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.707e-05/0.3936, allocations: 184.2 kB / 1.236 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.565e-05/0.3936, allocations: 192.2 kB / 1.237 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.417e-05/0.3937, allocations: 176.3 kB / 1.237 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.3939, allocations: 489 kB / 1.237 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-05/0.394, allocations: 108.9 kB / 1.237 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.394, allocations: 101 kB / 1.237 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.433e-05/0.3941, allocations: 188.2 kB / 1.238 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.3941, allocations: 180.3 kB / 1.238 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.672e-05/0.3942, allocations: 180.4 kB / 1.238 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.904e-05/0.3942, allocations: 184.2 kB / 1.238 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.3943, allocations: 339.4 kB / 1.238 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.948e-05/0.3944, allocations: 205.8 kB / 1.239 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.3945, allocations: 176.3 kB / 1.239 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.3946, allocations: 104.9 kB / 1.239 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.3947, allocations: 180.3 kB / 1.239 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.3947, allocations: 104.9 kB / 1.239 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002285/0.3949, allocations: 275.2 kB / 1.239 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.395, allocations: 0 / 1.239 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002416/0.3952, allocations: 31.91 kB / 1.239 GB, free: 7.199 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.0003095/0.3955, allocations: 0.8319 MB / 1.24 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.897e-05/0.3956, allocations: 23.92 kB / 1.24 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.3956, allocations: 3.938 kB / 1.24 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.3956, allocations: 4 kB / 1.24 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.3964, allocations: 0.6091 MB / 1.241 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.3988, allocations: 2.759 MB / 1.244 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.399, allocations: 0.756 MB / 1.244 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.847e-05/0.3991, allocations: 34.95 kB / 1.244 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.3992, allocations: 79.41 kB / 1.244 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.3992, allocations: 0 / 1.244 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6049/1.004, allocations: 5.591 MB / 1.25 GB, free: 196 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/1.004, allocations: 224.7 kB / 1.25 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.783, allocations: 0 / 1.25 GB, free: 195.8 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