Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001206/0.001206, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001261/0.001261, allocations: 194.4 kB / 16.14 MB, free: 6.691 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.254/1.254, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.505/2.505, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.44 kB / 0.8985 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.234, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1565/0.3905, allocations: 168.1 MB / 1.216 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006151/0.3967, allocations: 5.992 MB / 1.222 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003062/0.3971, allocations: 11.94 kB / 1.222 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005583/0.3977, allocations: 147.1 kB / 1.222 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.398, allocations: 79.5 kB / 1.222 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.3991, allocations: 490.5 kB / 1.223 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.3996, allocations: 474.5 kB / 1.223 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.3999, allocations: 139.6 kB / 1.223 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.4002, allocations: 171.3 kB / 1.224 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.4004, allocations: 147.4 kB / 1.224 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.4005, allocations: 12 kB / 1.224 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008072/0.4013, allocations: 0.5259 MB / 1.224 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.617e-05/0.4014, allocations: 59.83 kB / 1.224 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.4015, allocations: 99.47 kB / 1.224 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005935/0.4021, allocations: 466.6 kB / 1.225 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4021, allocations: 4 kB / 1.225 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.41e-07/0.4021, allocations: 0 / 1.225 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4021, allocations: 0 / 1.225 GB, free: 6.695 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005299/0.4027, allocations: 0.5185 MB / 1.225 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4027, allocations: 15.97 kB / 1.225 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.163e-05/0.4028, allocations: 62.53 kB / 1.225 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.403, allocations: 39.7 kB / 1.226 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.4033, allocations: 258.5 kB / 1.226 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.4034, allocations: 139.3 kB / 1.226 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.4035, allocations: 24 kB / 1.226 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.4039, allocations: 294.8 kB / 1.226 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4039, allocations: 0 / 1.226 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.4039, allocations: 12 kB / 1.226 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4039, allocations: 4 kB / 1.226 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.4042, allocations: 160.6 kB / 1.226 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.4054, allocations: 1.579 MB / 1.228 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.602e-05/0.4055, allocations: 169.1 kB / 1.228 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.4055, allocations: 80.14 kB / 1.228 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.4056, allocations: 75.28 kB / 1.228 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.4056, allocations: 121.7 kB / 1.228 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.4056, allocations: 0 / 1.228 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.74e-05/0.4057, allocations: 45.45 kB / 1.228 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.4058, allocations: 130.7 kB / 1.229 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.4061, allocations: 314.5 kB / 1.229 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.4061, allocations: 25.7 kB / 1.229 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.4062, allocations: 183.2 kB / 1.229 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/0.4062, allocations: 4 kB / 1.229 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-05/0.4063, allocations: 53.55 kB / 1.229 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4064, allocations: 330.8 kB / 1.229 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.453e-05/0.4065, allocations: 31.98 kB / 1.229 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.4067, allocations: 162.3 kB / 1.23 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.4069, allocations: 192.9 kB / 1.23 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4069, allocations: 8 kB / 1.23 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003735/0.4073, allocations: 217.5 kB / 1.23 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4073, allocations: 13 kB / 1.23 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4073, allocations: 8 kB / 1.23 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4073, allocations: 11.98 kB / 1.23 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.4075, allocations: 35.92 kB / 1.23 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.4075, allocations: 8 kB / 1.23 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.4077, allocations: 35.53 kB / 1.23 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.4077, allocations: 12 kB / 1.23 GB, free: 0.9375 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001226/0.4078, allocations: 213 kB / 1.23 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.4079, allocations: 136.7 kB / 1.23 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.408, allocations: 117.8 kB / 1.231 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.004e-05/0.408, allocations: 180.3 kB / 1.231 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.508e-05/0.4081, allocations: 188.2 kB / 1.231 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.006e-05/0.4081, allocations: 176.3 kB / 1.231 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.4084, allocations: 485.1 kB / 1.232 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.058e-05/0.4085, allocations: 101 kB / 1.232 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.4085, allocations: 105 kB / 1.232 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.546e-05/0.4086, allocations: 188.1 kB / 1.232 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/0.4086, allocations: 180.2 kB / 1.232 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-05/0.4087, allocations: 180.2 kB / 1.232 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.032e-05/0.4087, allocations: 184.3 kB / 1.232 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.4089, allocations: 323.5 kB / 1.233 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/0.409, allocations: 205.8 kB / 1.233 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-05/0.409, allocations: 184.2 kB / 1.233 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.4092, allocations: 105 kB / 1.233 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.4092, allocations: 184.2 kB / 1.233 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.4093, allocations: 105.3 kB / 1.233 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002184/0.4095, allocations: 217.9 kB / 1.234 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4095, allocations: 3.938 kB / 1.234 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003418/0.4099, allocations: 59.83 kB / 1.234 GB, free: 12.97 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.000501/0.4104, allocations: 0.867 MB / 1.235 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001756/0.4105, allocations: 83.77 kB / 1.235 GB, free: 12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4106, allocations: 0 / 1.235 GB, free: 12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.4106, allocations: 1.25 kB / 1.235 GB, free: 12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.411, allocations: 0.5478 MB / 1.235 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.4134, allocations: 2.561 MB / 1.238 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.4136, allocations: 0.732 MB / 1.238 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.4138, allocations: 33.94 kB / 1.238 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.4139, allocations: 59.41 kB / 1.238 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.4139, allocations: 0 / 1.238 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.4269, allocations: 3.815 MB / 1.242 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.4271, allocations: 212.7 kB / 1.242 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.162, allocations: 0 / 1.242 GB, free: 3.879 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches