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.00103/0.00103, allocations: 91.53 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.005145/0.005145, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.547/2.547, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003398, allocations: 16.19 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2531, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1505/0.4036, allocations: 165.9 MB / 1.221 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00545/0.4091, allocations: 5.91 MB / 1.227 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.4094, allocations: 4 kB / 1.227 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.4098, allocations: 155.1 kB / 1.227 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.4101, allocations: 79.55 kB / 1.227 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.4111, allocations: 498.4 kB / 1.227 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.4116, allocations: 470.6 kB / 1.228 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.4118, allocations: 131.6 kB / 1.228 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.4121, allocations: 159.3 kB / 1.228 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.4123, allocations: 143.4 kB / 1.228 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.4123, allocations: 8 kB / 1.228 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007271/0.4131, allocations: 0.5064 MB / 1.229 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.426e-05/0.4131, allocations: 51.83 kB / 1.229 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.653e-05/0.4132, allocations: 113.2 kB / 1.229 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.4138, allocations: 462.5 kB / 1.229 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.4138, allocations: 0 / 1.229 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4138, allocations: 4 kB / 1.229 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4138, allocations: 0 / 1.229 GB, free: 5.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.00049/0.4143, allocations: 495 kB / 1.23 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4144, allocations: 11.97 kB / 1.23 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.4144, allocations: 62.53 kB / 1.23 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.4147, allocations: 43.7 kB / 1.23 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.4149, allocations: 248.3 kB / 1.23 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.4151, allocations: 135.4 kB / 1.23 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.4151, allocations: 20 kB / 1.23 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.4155, allocations: 302.7 kB / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.4155, allocations: 0 / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.4156, allocations: 12 kB / 1.23 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.4156, allocations: 8 kB / 1.23 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.4158, allocations: 156.6 kB / 1.231 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.417, allocations: 1.575 MB / 1.232 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.95e-05/0.4171, allocations: 177.1 kB / 1.232 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.4171, allocations: 80.14 kB / 1.232 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.4172, allocations: 79.27 kB / 1.233 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.4172, allocations: 113.8 kB / 1.233 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4172, allocations: 0 / 1.233 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.717e-05/0.4173, allocations: 45.52 kB / 1.233 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.4173, allocations: 130.6 kB / 1.233 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.4177, allocations: 314.5 kB / 1.233 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.4177, allocations: 25.7 kB / 1.233 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.4178, allocations: 191.2 kB / 1.233 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-06/0.4178, allocations: 3.938 kB / 1.233 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.4178, allocations: 29.64 kB / 1.233 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.4179, allocations: 326.8 kB / 1.234 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.418, allocations: 43.97 kB / 1.234 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.4182, allocations: 158.3 kB / 1.234 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.4184, allocations: 196.8 kB / 1.234 GB, free: 348 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.4184, allocations: 4 kB / 1.234 GB, free: 344 kB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003552/0.4188, allocations: 205.1 kB / 1.234 GB, free: 132 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4188, allocations: 11.94 kB / 1.234 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4188, allocations: 8.609 kB / 1.234 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4188, allocations: 8 kB / 1.234 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.419, allocations: 39.92 kB / 1.234 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.419, allocations: 11.94 kB / 1.234 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.4192, allocations: 31.62 kB / 1.234 GB, free: 20 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.4192, allocations: 12 kB / 1.234 GB, free: 8 kB / 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.0001357/0.4193, allocations: 217 kB / 1.235 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.4194, allocations: 124.6 kB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.293e-05/0.4195, allocations: 129.8 kB / 1.235 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.943e-05/0.4195, allocations: 184.3 kB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.862e-05/0.4196, allocations: 180.2 kB / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.958e-05/0.4197, allocations: 180.2 kB / 1.235 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.4199, allocations: 485.1 kB / 1.236 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.103e-05/0.42, allocations: 104.9 kB / 1.236 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.42, allocations: 109 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.538e-05/0.4201, allocations: 184.1 kB / 1.236 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.4201, allocations: 176.3 kB / 1.236 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.807e-05/0.4202, allocations: 180.2 kB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.031e-05/0.4202, allocations: 188.2 kB / 1.237 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.4204, allocations: 315.6 kB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.231e-05/0.4205, allocations: 209.7 kB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-05/0.4205, allocations: 188.2 kB / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.4207, allocations: 104.9 kB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.4207, allocations: 180.3 kB / 1.238 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.4208, allocations: 108.9 kB / 1.238 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002226/0.421, allocations: 217.9 kB / 1.238 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.421, allocations: 0 / 1.238 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003288/0.4213, allocations: 51.94 kB / 1.238 GB, free: 12.05 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.0004618/0.4218, allocations: 0.8674 MB / 1.239 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.422, allocations: 80.09 kB / 1.239 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.422, allocations: 0 / 1.239 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.422, allocations: 3.938 kB / 1.239 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.4225, allocations: 0.5549 MB / 1.239 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.4248, allocations: 2.572 MB / 1.242 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.425, allocations: 0.7398 MB / 1.243 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001433/0.4252, allocations: 33.94 kB / 1.243 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.4252, allocations: 55.42 kB / 1.243 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.4253, allocations: 0 / 1.243 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2829/0.7081, allocations: 3.736 MB / 1.246 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/0.7084, allocations: 200.9 kB / 1.247 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/2.514, allocations: 0 / 1.247 GB, free: 3.043 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