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.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.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.001473/0.001473, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001596/0.001596, allocations: 190.4 kB / 16.25 MB, free: 6.648 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.256/1.256, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.482/2.482, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 62.91 kB / 0.8987 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2656, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1564/0.4221, allocations: 168.1 MB / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00557/0.4277, allocations: 5.941 MB / 1.222 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.428, allocations: 11.88 kB / 1.222 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005316/0.4285, allocations: 155.1 kB / 1.222 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.4289, allocations: 87.48 kB / 1.223 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.43, allocations: 490.5 kB / 1.223 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.4304, allocations: 422.6 kB / 1.223 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.4307, allocations: 135.6 kB / 1.224 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.431, allocations: 187.3 kB / 1.224 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.4312, allocations: 155.4 kB / 1.224 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.4312, allocations: 16 kB / 1.224 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006689/0.4319, allocations: 462.7 kB / 1.224 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.297e-05/0.432, allocations: 71.81 kB / 1.224 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.4321, allocations: 111.5 kB / 1.225 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.4327, allocations: 466.6 kB / 1.225 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.4327, allocations: 0 / 1.225 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4327, allocations: 4 kB / 1.225 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4327, allocations: 0 / 1.225 GB, free: 7.258 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.0005601/0.4333, allocations: 0.5184 MB / 1.225 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4333, allocations: 8.625 kB / 1.225 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.25e-05/0.4334, allocations: 58.55 kB / 1.226 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.4337, allocations: 47.7 kB / 1.226 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.4339, allocations: 254.5 kB / 1.226 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.4341, allocations: 135.4 kB / 1.226 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.4341, allocations: 23.94 kB / 1.226 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.4345, allocations: 298.8 kB / 1.226 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.4345, allocations: 0 / 1.226 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.4345, allocations: 12 kB / 1.226 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.4346, allocations: 8 kB / 1.226 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.4348, allocations: 156.6 kB / 1.226 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.436, allocations: 1.583 MB / 1.228 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.689e-05/0.4361, allocations: 169.1 kB / 1.228 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.4361, allocations: 84.12 kB / 1.228 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.4362, allocations: 75.28 kB / 1.228 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.4362, allocations: 121.8 kB / 1.228 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4362, allocations: 0 / 1.228 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.231e-05/0.4363, allocations: 45.45 kB / 1.228 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.4363, allocations: 126.7 kB / 1.229 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.4367, allocations: 314.5 kB / 1.229 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.4367, allocations: 29.64 kB / 1.229 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.4368, allocations: 191.2 kB / 1.229 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.4368, allocations: 0 / 1.229 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.4369, allocations: 49.61 kB / 1.229 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.437, allocations: 326.8 kB / 1.229 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.4371, allocations: 43.91 kB / 1.229 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.4372, allocations: 166.1 kB / 1.23 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.4374, allocations: 192.9 kB / 1.23 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4374, allocations: 4 kB / 1.23 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00037/0.4378, allocations: 209.5 kB / 1.23 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4378, allocations: 16.03 kB / 1.23 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4378, allocations: 4 kB / 1.23 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4378, allocations: 4 kB / 1.23 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.438, allocations: 43.91 kB / 1.23 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.438, allocations: 4 kB / 1.23 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.4382, allocations: 39.53 kB / 1.23 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.4382, allocations: 8 kB / 1.23 GB, free: 1.504 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.0001161/0.4383, allocations: 217 kB / 1.23 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.4384, allocations: 132.7 kB / 1.23 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.342e-05/0.4385, allocations: 121.8 kB / 1.231 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.36e-05/0.4385, allocations: 176.3 kB / 1.231 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.521e-05/0.4385, allocations: 180.2 kB / 1.231 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.474e-05/0.4386, allocations: 184.2 kB / 1.231 GB, free: 480 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.4389, allocations: 489.1 kB / 1.232 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.728e-05/0.4389, allocations: 105 kB / 1.232 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.4389, allocations: 101.1 kB / 1.232 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.756e-05/0.439, allocations: 184.1 kB / 1.232 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.439, allocations: 184.3 kB / 1.232 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.357e-05/0.4391, allocations: 180.2 kB / 1.232 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.361e-05/0.4391, allocations: 184.2 kB / 1.232 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.4392, allocations: 323.5 kB / 1.233 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.854e-05/0.4393, allocations: 205.8 kB / 1.233 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.4394, allocations: 180.2 kB / 1.233 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.4395, allocations: 109 kB / 1.233 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.4396, allocations: 188.3 kB / 1.233 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.4396, allocations: 104.9 kB / 1.234 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002037/0.4398, allocations: 221.9 kB / 1.234 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4398, allocations: 0 / 1.234 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003244/0.4402, allocations: 55.84 kB / 1.234 GB, free: 13.54 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.0004778/0.4407, allocations: 0.8554 MB / 1.235 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.4408, allocations: 75.78 kB / 1.235 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4408, allocations: 4 kB / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.856e-06/0.4408, allocations: 3.938 kB / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.4413, allocations: 0.4887 MB / 1.235 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.4435, allocations: 2.562 MB / 1.238 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.4437, allocations: 0.7475 MB / 1.238 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000138/0.4439, allocations: 37.88 kB / 1.238 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.4439, allocations: 59.36 kB / 1.239 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.4439, allocations: 0 / 1.239 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6952/1.139, allocations: 3.897 MB / 1.242 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002451/1.139, allocations: 216.4 kB / 1.243 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/4.065, allocations: 0 / 1.243 GB, free: 4.426 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