Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 249.4 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.85/2.85, allocations: 476.7 MB / 0.7629 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.89 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116/1.118, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003444/1.122, allocations: 1.524 MB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003805/1.122, allocations: 125.2 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/1.122, allocations: 0.6875 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/1.122, allocations: 9.844 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.475e-05/1.122, allocations: 5.75 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/1.122, allocations: 75.92 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001842/1.123, allocations: 58.41 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/1.123, allocations: 10.58 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.5e-05/1.123, allocations: 35.86 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8e-05/1.123, allocations: 23.72 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/1.123, allocations: 5.031 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.038e-05/1.123, allocations: 9.562 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/1.123, allocations: 13.53 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/1.123, allocations: 25.69 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/1.123, allocations: 56.66 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.123, allocations: 4.844 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.853e-06/1.123, allocations: 0 / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.706e-06/1.123, allocations: 0.7188 kB / 1.273 GB, free: 6.441 MB / 0.9981 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.000617/1.124, allocations: 369.8 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/1.124, allocations: 9.312 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.126e-05/1.124, allocations: 41.61 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/1.124, allocations: 7.828 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/1.124, allocations: 176.9 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-05/1.124, allocations: 30.19 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/1.124, allocations: 2.906 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/1.125, allocations: 78.75 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/1.125, allocations: 0 / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/1.125, allocations: 0.8438 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/1.125, allocations: 8.812 kB / 1.274 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/1.125, allocations: 45.38 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000675/1.126, allocations: 311.9 kB / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/1.126, allocations: 53.38 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/1.126, allocations: 29.73 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/1.126, allocations: 4.969 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/1.126, allocations: 32.06 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/1.126, allocations: 0 / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004428/1.126, allocations: 102.3 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/1.126, allocations: 52.66 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/1.126, allocations: 106.6 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/1.126, allocations: 30.52 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/1.126, allocations: 91.55 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/1.127, allocations: 10.48 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/1.127, allocations: 25.81 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.493e-05/1.127, allocations: 315.8 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.629e-05/1.127, allocations: 27.12 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/1.127, allocations: 32.12 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/1.127, allocations: 62.11 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.127, allocations: 4 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002231/1.127, allocations: 89.31 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.127, allocations: 5.062 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/1.127, allocations: 5.094 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.127, allocations: 2.828 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/1.127, allocations: 11.88 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/1.127, allocations: 1.094 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/1.127, allocations: 9.547 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/1.127, allocations: 7.734 kB / 1.276 GB, free: 4.527 MB / 0.9981 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 6.386e-05/1.128, allocations: 112.7 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/1.128, allocations: 13.64 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/1.128, allocations: 6.156 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/1.128, allocations: 0.875 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.128, allocations: 0.875 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.128, allocations: 0 / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/1.128, allocations: 186.9 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/1.128, allocations: 2.203 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.76e-05/1.128, allocations: 14.05 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.128, allocations: 1.031 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/1.128, allocations: 0.9375 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.128, allocations: 0 / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.128, allocations: 2.031 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/1.128, allocations: 179.5 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/1.128, allocations: 86.72 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/1.128, allocations: 1.031 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/1.128, allocations: 9.234 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/1.128, allocations: 7.594 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/1.128, allocations: 3.094 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.648e-05/1.128, allocations: 88.61 kB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.128, allocations: 0 / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000224/1.129, allocations: 7.375 kB / 1.276 GB, free: 3.84 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 (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.0004643/1.129, allocations: 0.7107 MB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002695/1.129, allocations: 55.22 kB / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.129, allocations: 0 / 1.277 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.783e-05/1.129, allocations: 25.89 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/1.13, allocations: 8.719 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/1.131, allocations: 1.34 MB / 1.278 GB, free: 17.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/1.132, allocations: 0.6896 MB / 1.279 GB, free: 17.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.932e-05/1.132, allocations: 5.281 kB / 1.279 GB, free: 17.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/1.132, allocations: 15.72 kB / 1.279 GB, free: 17.19 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/1.132, allocations: 3.938 kB / 1.279 GB, free: 17.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/1.156, allocations: 1.76 MB / 1.281 GB, free: 16.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/9.103, allocations: 12.94 kB / 1.281 GB, free: 16.79 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.256005636008922]