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.009145/0.009145, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.002055/0.002055, allocations: 196 kB / 16.67 MB, free: 5.93 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.73/2.73, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001474, allocations: 60.31 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3637, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003297/0.3671, allocations: 1.503 MB / 1.209 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003987/0.3675, allocations: 123.7 kB / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.3676, allocations: 0 / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.3676, allocations: 3.938 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.37e-05/0.3678, allocations: 11.92 kB / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.3682, allocations: 77.88 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.3683, allocations: 59.78 kB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3684, allocations: 12 kB / 1.209 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.079e-05/0.3685, allocations: 27.92 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.3686, allocations: 23.89 kB / 1.209 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.3687, allocations: 8 kB / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.3687, allocations: 4 kB / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.3687, allocations: 19.92 kB / 1.209 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.3688, allocations: 27.86 kB / 1.209 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.3689, allocations: 56.14 kB / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3689, allocations: 0 / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3689, allocations: 0 / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3689, allocations: 0 / 1.209 GB, free: 8.219 MB / 0.9669 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.0005777/0.3695, allocations: 375.3 kB / 1.21 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3696, allocations: 8.625 kB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.3696, allocations: 30.75 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.3697, allocations: 12.88 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3698, allocations: 180.2 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/0.3699, allocations: 30.27 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.3699, allocations: 384 / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.3701, allocations: 77.97 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3702, allocations: 0 / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.3702, allocations: 4 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3702, allocations: 3.938 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.3704, allocations: 47.95 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000662/0.3711, allocations: 316.7 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.3712, allocations: 46.55 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.3713, allocations: 36.94 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.3713, allocations: 0 / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3714, allocations: 34.5 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.3714, allocations: 3.938 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003815/0.3718, allocations: 105.5 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.3718, allocations: 55.41 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.654e-05/0.3719, allocations: 109.8 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.372, allocations: 29.7 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.372, allocations: 91.98 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.372, allocations: 7.906 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.3721, allocations: 21.7 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3722, allocations: 314.8 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.513e-05/0.3723, allocations: 27.97 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.809e-05/0.3724, allocations: 33.7 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.3726, allocations: 61.61 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3726, allocations: 0 / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002243/0.3728, allocations: 89.5 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3729, allocations: 5.719 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3729, allocations: 4 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3729, allocations: 0 / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.373, allocations: 11.98 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.373, allocations: 4 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.881e-05/0.3731, allocations: 8 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.3731, allocations: 0 / 1.211 GB, free: 5.824 MB / 0.9669 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 9.02e-05/0.3732, allocations: 121.8 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.3732, allocations: 0 / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.3733, allocations: 11.91 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3733, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3733, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3733, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.3735, allocations: 185.5 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.3735, allocations: 8 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.3736, allocations: 19.86 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3736, allocations: 0 / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3736, allocations: 4 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3736, allocations: 0 / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3736, allocations: 0 / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.3739, allocations: 171.5 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.374, allocations: 85.02 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.374, allocations: 3.984 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.3741, allocations: 15.98 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.3742, allocations: 0 / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.3742, allocations: 4 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.3742, allocations: 91.56 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3742, allocations: 0 / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002289/0.3745, allocations: 11.94 kB / 1.212 GB, free: 5.004 MB / 0.9669 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.0005364/0.375, allocations: 0.7085 MB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.3752, allocations: 52.28 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.3753, allocations: 0 / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.669e-05/0.3754, allocations: 27.91 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.3757, allocations: 12.25 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3771, allocations: 1.336 MB / 1.214 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.3774, allocations: 0.6846 MB / 1.215 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.313e-05/0.3775, allocations: 4 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.3776, allocations: 19.42 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.3776, allocations: 3.938 kB / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.3971, allocations: 1.803 MB / 1.216 GB, free: 344 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/8.024, allocations: 3.938 kB / 1.216 GB, free: 340 kB / 0.9669 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