Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.002724/0.002724, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.005189/0.005189, allocations: 189 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.354/2.354, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.947/3.947, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 60.72 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3836, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003637/0.3873, allocations: 1.572 MB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004108/0.3877, allocations: 127.6 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.3878, allocations: 0 / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.045e-05/0.3879, allocations: 11.86 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.388, allocations: 3.938 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.3884, allocations: 71.03 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3885, allocations: 55.84 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.3887, allocations: 16 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.048e-05/0.3887, allocations: 23.92 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.761e-05/0.3888, allocations: 27.89 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.3889, allocations: 8 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.3889, allocations: 4 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.3889, allocations: 15.92 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.389, allocations: 23.86 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.3891, allocations: 52.14 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3891, allocations: 0 / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3891, allocations: 4 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3891, allocations: 0 / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006129/0.3897, allocations: 371.4 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.3898, allocations: 12.56 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.3898, allocations: 34.75 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.3899, allocations: 8.844 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3901, allocations: 172.3 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.024e-05/0.3902, allocations: 34.25 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3902, allocations: 4.375 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.3904, allocations: 73.97 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3905, allocations: 0 / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3905, allocations: 0 / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.3905, allocations: 7.984 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.3907, allocations: 55.88 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006957/0.3914, allocations: 316.7 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.3916, allocations: 50.55 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.3917, allocations: 32.94 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3917, allocations: 3.938 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3917, allocations: 34.5 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.3918, allocations: 0 / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003917/0.3921, allocations: 97.62 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.3922, allocations: 55.41 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.3923, allocations: 117.8 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.3924, allocations: 25.7 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.3924, allocations: 92.08 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3925, allocations: 11.81 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.3925, allocations: 21.7 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3926, allocations: 318.8 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3928, allocations: 23.98 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.3929, allocations: 49.56 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.393, allocations: 49.69 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3931, allocations: 0 / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002393/0.3933, allocations: 93.58 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3933, allocations: 5.25 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3933, allocations: 4 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3934, allocations: 0 / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3935, allocations: 11.98 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3935, allocations: 0 / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.3935, allocations: 11.91 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.3936, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001267/0.3937, allocations: 121.8 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.3937, allocations: 3.984 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.3938, allocations: 7.906 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3938, allocations: 4 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3938, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3938, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.394, allocations: 177.5 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.394, allocations: 3.938 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/0.3941, allocations: 16.22 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3941, allocations: 4 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3941, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3941, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3941, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.3944, allocations: 187.3 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.3944, allocations: 77.11 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.3944, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.3946, allocations: 15.98 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.3946, allocations: 3.984 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.3946, allocations: 8 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.3947, allocations: 83.27 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3947, allocations: 0 / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002333/0.3949, allocations: 12 kB / 1.057 GB, free: 3.383 MB / 0.8106 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 (4): * Single equations (assignments): 4 * 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.0006303/0.3956, allocations: 0.7123 MB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.3958, allocations: 55.89 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3958, allocations: 0 / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.3959, allocations: 28.03 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.3963, allocations: 14.45 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.398, allocations: 1.333 MB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3983, allocations: 0.6846 MB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.669e-05/0.3984, allocations: 4 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.3984, allocations: 15.44 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/0.3985, allocations: 0 / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2602/0.6587, allocations: 1.624 MB / 1.062 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004189/0.6592, allocations: 218.4 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.568/4.227, allocations: 3.938 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches