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.001515/0.001515, 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.001717/0.001717, allocations: 193.8 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.592/2.592, allocations: 461.9 MB / 0.7346 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 69.88 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2238, allocations: 157.4 MB / 1.053 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1419/0.3658, allocations: 170.3 MB / 1.219 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004955/0.3708, allocations: 5.991 MB / 1.225 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.371, allocations: 15.94 kB / 1.225 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.3714, allocations: 186.7 kB / 1.225 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.3717, allocations: 91.38 kB / 1.225 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.3725, allocations: 0.5177 MB / 1.226 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.3728, allocations: 422.7 kB / 1.226 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.3731, allocations: 131.6 kB / 1.226 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.3733, allocations: 199.2 kB / 1.227 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.3735, allocations: 143.4 kB / 1.227 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.3735, allocations: 16 kB / 1.227 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005923/0.3741, allocations: 458.8 kB / 1.227 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.138e-05/0.3742, allocations: 63.83 kB / 1.227 GB, free: 5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.742e-05/0.3743, allocations: 107.5 kB / 1.227 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.3748, allocations: 438.8 kB / 1.228 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3748, allocations: 0 / 1.228 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3748, allocations: 0 / 1.228 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3748, allocations: 4 kB / 1.228 GB, free: 4.461 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.0004762/0.3753, allocations: 0.5223 MB / 1.228 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.3753, allocations: 8.625 kB / 1.228 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.213e-05/0.3754, allocations: 58.55 kB / 1.228 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.3757, allocations: 43.7 kB / 1.228 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.3759, allocations: 254.5 kB / 1.229 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.376, allocations: 139.4 kB / 1.229 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.376, allocations: 23.94 kB / 1.229 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.3764, allocations: 290.8 kB / 1.229 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3764, allocations: 7.922 kB / 1.229 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.3765, allocations: 12 kB / 1.229 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3765, allocations: 8 kB / 1.229 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.3767, allocations: 152.6 kB / 1.229 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.3778, allocations: 1.587 MB / 1.231 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.943e-05/0.3779, allocations: 169.1 kB / 1.231 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.3779, allocations: 80.14 kB / 1.231 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3779, allocations: 79.28 kB / 1.231 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.378, allocations: 109.8 kB / 1.231 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.378, allocations: 4 kB / 1.231 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.098e-05/0.3781, allocations: 45.52 kB / 1.231 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.3781, allocations: 126.7 kB / 1.231 GB, free: 492 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.3784, allocations: 310.5 kB / 1.232 GB, free: 172 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.3784, allocations: 29.64 kB / 1.232 GB, free: 136 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3785, allocations: 187.2 kB / 1.232 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.3785, allocations: 8 kB / 1.232 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.3786, allocations: 41.61 kB / 1.232 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.3787, allocations: 338.8 kB / 1.232 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.3788, allocations: 35.97 kB / 1.232 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.3789, allocations: 158 kB / 1.232 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.3791, allocations: 200.9 kB / 1.233 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3791, allocations: 0 / 1.233 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003455/0.3795, allocations: 213.7 kB / 1.233 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3795, allocations: 13.19 kB / 1.233 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3795, allocations: 12.02 kB / 1.233 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3795, allocations: 8 kB / 1.233 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.3797, allocations: 35.92 kB / 1.233 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3797, allocations: 11.92 kB / 1.233 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.3799, allocations: 35.53 kB / 1.233 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.3799, allocations: 16 kB / 1.233 GB, free: 14.7 MB / 0.9981 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.0001079/0.38, allocations: 217 kB / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.3801, allocations: 120.7 kB / 1.233 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.3801, allocations: 129.8 kB / 1.233 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.327e-05/0.3802, allocations: 176.3 kB / 1.234 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.547e-05/0.3802, allocations: 184.3 kB / 1.234 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.477e-05/0.3803, allocations: 184.2 kB / 1.234 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.3805, allocations: 477.1 kB / 1.234 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-05/0.3806, allocations: 108.9 kB / 1.234 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.3806, allocations: 101 kB / 1.235 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.527e-05/0.3806, allocations: 184.2 kB / 1.235 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.3807, allocations: 188.1 kB / 1.235 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.455e-05/0.3807, allocations: 180.2 kB / 1.235 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-05/0.3808, allocations: 184.2 kB / 1.235 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.3809, allocations: 331.7 kB / 1.236 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.381, allocations: 205.8 kB / 1.236 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.261e-05/0.3811, allocations: 180.2 kB / 1.236 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3812, allocations: 108.9 kB / 1.236 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.3813, allocations: 180.3 kB / 1.236 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.3813, allocations: 104.9 kB / 1.236 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000204/0.3815, allocations: 221.9 kB / 1.237 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3815, allocations: 0 / 1.237 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003136/0.3818, allocations: 55.84 kB / 1.237 GB, free: 10.74 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.0004435/0.3823, allocations: 0.8592 MB / 1.237 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.3825, allocations: 83.78 kB / 1.238 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3825, allocations: 0 / 1.238 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.3825, allocations: 0 / 1.238 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3829, allocations: 498.6 kB / 1.238 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.385, allocations: 2.506 MB / 1.24 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.3852, allocations: 0.7436 MB / 1.241 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.3854, allocations: 37.88 kB / 1.241 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.3854, allocations: 55.41 kB / 1.241 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of SimCode: time 2.01e-07/0.3854, allocations: 0 / 1.241 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3112/0.6967, allocations: 3.982 MB / 1.245 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/9.048, allocations: 6.453 kB / 1.245 GB, free: 1.82 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