Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 213.2 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.449/3.449, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 73.39 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4053, allocations: 181.9 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003538/0.4088, allocations: 1.661 MB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.4097, allocations: 380.2 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.4098, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.4099, allocations: 7.875 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.328e-05/0.41, allocations: 23.78 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.4105, allocations: 119.6 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000217/0.4108, allocations: 107.6 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.4109, allocations: 31.91 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.411, allocations: 43.84 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.4111, allocations: 35.84 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.4111, allocations: 11.94 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.4113, allocations: 59.95 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.4113, allocations: 23.91 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.4114, allocations: 35.8 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.4117, allocations: 135.5 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4117, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4117, allocations: 4 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.4117, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006734/0.4123, allocations: 343.4 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4124, allocations: 12.03 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.439e-05/0.4124, allocations: 38.73 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/0.4127, allocations: 32.86 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.413, allocations: 134.4 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.797e-05/0.4131, allocations: 63.95 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.4131, allocations: 8.375 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.4134, allocations: 131.6 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4134, allocations: 0 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.4135, allocations: 4 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.4135, allocations: 4 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.4137, allocations: 75.94 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007577/0.4145, allocations: 343.6 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.4151, allocations: 126.6 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.4152, allocations: 36.84 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.4152, allocations: 3.938 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.4152, allocations: 42.55 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.4152, allocations: 0 / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004736/0.4157, allocations: 145.4 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.4158, allocations: 55.34 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.4159, allocations: 135.4 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4159, allocations: 25.7 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.416, allocations: 96.12 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.416, allocations: 35.88 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.4161, allocations: 25.72 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.4162, allocations: 318.8 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.4164, allocations: 27.98 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.4165, allocations: 45.69 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.4167, allocations: 82.12 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4167, allocations: 0 / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002941/0.417, allocations: 113.5 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.417, allocations: 8 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.417, allocations: 4 kB / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.417, allocations: 3.938 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.4172, allocations: 19.98 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.4172, allocations: 3.938 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.637e-05/0.4173, allocations: 7.984 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.4173, allocations: 4 kB / 1.368 GB, free: 8.754 MB / 1.061 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 (8): * Single equations (assignments): 8 * 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.0001076/0.4174, allocations: 117.9 kB / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.4174, allocations: 7.953 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.4175, allocations: 12.72 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4175, allocations: 3.938 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4175, allocations: 4 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4175, allocations: 0 / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.4177, allocations: 168.6 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4177, allocations: 4 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.4178, allocations: 15.98 kB / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4178, allocations: 0 / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.4178, allocations: 4 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4178, allocations: 3.938 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4178, allocations: 0 / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.4182, allocations: 199.4 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.4182, allocations: 7.953 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.4182, allocations: 7.922 kB / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.4184, allocations: 19.92 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.4184, allocations: 4 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.4184, allocations: 7.984 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.348e-05/0.4185, allocations: 109.1 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4185, allocations: 0 / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002508/0.4187, allocations: 20 kB / 1.369 GB, free: 7.977 MB / 1.061 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 (7): * Single equations (assignments): 7 * 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.0006762/0.4194, allocations: 0.7358 MB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.4197, allocations: 67.95 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4197, allocations: 4.062 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.4198, allocations: 39.91 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.4202, allocations: 32.41 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.4222, allocations: 1.56 MB / 1.371 GB, free: 5.434 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.715e-05/0.4223, allocations: 79.31 kB / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.188e-05/0.4224, allocations: 12.67 kB / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/0.4225, allocations: 27.42 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of SimCode: time 6.01e-07/0.4225, allocations: 3.938 kB / 1.372 GB, free: 5.289 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.4541, allocations: 3.401 MB / 1.375 GB, free: 2.051 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.67, allocations: 10.81 kB / 1.375 GB, free: 2.043 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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: 18.83640502905473]