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.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.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.001211/0.001211, 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.001196/0.001196, allocations: 192.3 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.203/1.203, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.435/2.435, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 68.02 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2473, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1609/0.4083, allocations: 174.1 MB / 1.223 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009123/0.4175, allocations: 9.51 MB / 1.232 GB, free: 32 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003253/0.4178, allocations: 11.94 kB / 1.232 GB, free: 20 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006048/0.4185, allocations: 190.7 kB / 1.232 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.4188, allocations: 91.28 kB / 1.232 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.419, allocations: 71.84 kB / 1.233 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.4194, allocations: 322.7 kB / 1.233 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003467/0.4198, allocations: 212.9 kB / 1.233 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.4202, allocations: 167.4 kB / 1.233 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.4203, allocations: 131.4 kB / 1.233 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.4204, allocations: 20 kB / 1.233 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.41e-05/0.4204, allocations: 20 kB / 1.233 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.4205, allocations: 75.77 kB / 1.233 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.4206, allocations: 127.3 kB / 1.234 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.4209, allocations: 271.1 kB / 1.234 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4209, allocations: 4 kB / 1.234 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4209, allocations: 0 / 1.234 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.4209, allocations: 0 / 1.234 GB, free: 14.34 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.0005028/0.4215, allocations: 0.5068 MB / 1.234 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.4215, allocations: 16.56 kB / 1.234 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.917e-05/0.4216, allocations: 66.53 kB / 1.234 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.4216, allocations: 31.56 kB / 1.234 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.4219, allocations: 270.5 kB / 1.235 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.4219, allocations: 20.56 kB / 1.235 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.422, allocations: 24 kB / 1.235 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.4224, allocations: 323.9 kB / 1.235 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4224, allocations: 0 / 1.235 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.4224, allocations: 12 kB / 1.235 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.4224, allocations: 11.94 kB / 1.235 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.4227, allocations: 147.7 kB / 1.235 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.4238, allocations: 1.812 MB / 1.237 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.25e-05/0.4239, allocations: 165.1 kB / 1.237 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.424, allocations: 88.02 kB / 1.237 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.424, allocations: 75.28 kB / 1.237 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.424, allocations: 121.8 kB / 1.237 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.424, allocations: 0 / 1.237 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.088e-05/0.4241, allocations: 49.42 kB / 1.237 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.4242, allocations: 130.7 kB / 1.238 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.4246, allocations: 373.6 kB / 1.238 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.4246, allocations: 25.7 kB / 1.238 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.4247, allocations: 163.8 kB / 1.238 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.4247, allocations: 0 / 1.238 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.4247, allocations: 25.7 kB / 1.238 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.4248, allocations: 338.8 kB / 1.238 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.4249, allocations: 4 kB / 1.238 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/0.4249, allocations: 32.3 kB / 1.238 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.062e-05/0.425, allocations: 52.22 kB / 1.239 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.425, allocations: 0 / 1.239 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001482/0.4251, allocations: 93.12 kB / 1.239 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4251, allocations: 8 kB / 1.239 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4251, allocations: 160 / 1.239 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4252, allocations: 8 kB / 1.239 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.638e-05/0.4252, allocations: 4 kB / 1.239 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4252, allocations: 4 kB / 1.239 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/0.4253, allocations: 27.62 kB / 1.239 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.4253, allocations: 0 / 1.239 GB, free: 9.016 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.0001222/0.4255, allocations: 213.2 kB / 1.239 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.4255, allocations: 144.4 kB / 1.239 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.275e-05/0.4256, allocations: 138.9 kB / 1.239 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.184e-05/0.4257, allocations: 180.2 kB / 1.239 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.222e-05/0.4257, allocations: 176.3 kB / 1.239 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.157e-05/0.4258, allocations: 180.3 kB / 1.24 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.4261, allocations: 0.4894 MB / 1.24 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-05/0.4261, allocations: 105 kB / 1.24 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.4261, allocations: 112.9 kB / 1.24 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.676e-05/0.4262, allocations: 176.3 kB / 1.24 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/0.4262, allocations: 180.3 kB / 1.241 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.74e-05/0.4263, allocations: 180.2 kB / 1.241 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.933e-05/0.4263, allocations: 176.3 kB / 1.241 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.4265, allocations: 339.7 kB / 1.241 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.951e-05/0.4266, allocations: 209.8 kB / 1.242 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.774e-05/0.4267, allocations: 184.2 kB / 1.242 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.4268, allocations: 101 kB / 1.242 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.4268, allocations: 184.2 kB / 1.242 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.4269, allocations: 109 kB / 1.242 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002285/0.4271, allocations: 267.2 kB / 1.242 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4271, allocations: 0 / 1.242 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002453/0.4273, allocations: 31.91 kB / 1.242 GB, free: 4.988 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.0003658/0.4277, allocations: 0.8396 MB / 1.243 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.125e-05/0.4278, allocations: 19.92 kB / 1.243 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4278, allocations: 0 / 1.243 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.4278, allocations: 0 / 1.243 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007847/0.4286, allocations: 0.5572 MB / 1.244 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.431, allocations: 2.721 MB / 1.246 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.406/0.837, allocations: 0.748 MB / 1.247 GB, free: 198 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.8372, allocations: 34.16 kB / 1.247 GB, free: 198 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.8374, allocations: 77.52 kB / 1.247 GB, free: 198 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/0.8374, allocations: 0.6562 kB / 1.247 GB, free: 198 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08017/0.9175, allocations: 5.848 MB / 1.253 GB, free: 197.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.9, allocations: 0 / 1.253 GB, free: 197.5 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