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.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.001615/0.001615, allocations: 113.8 kB / 17.08 MB, free: 5.789 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.001684/0.001684, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.434/1.434, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.955/2.955, allocations: 489.3 MB / 0.7687 GB, free: 3.781 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.91 kB / 1.103 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9008/0.9028, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002813/0.9057, allocations: 1.675 MB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006624/0.9064, allocations: 406.6 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.759e-05/0.9065, allocations: 1.719 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.9066, allocations: 11.16 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.88e-05/0.9066, allocations: 20.78 kB / 1.265 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.9071, allocations: 123.5 kB / 1.265 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.9072, allocations: 106.4 kB / 1.265 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.9074, allocations: 35.94 kB / 1.265 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.854e-05/0.9074, allocations: 44.42 kB / 1.265 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.9075, allocations: 40.08 kB / 1.265 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.9076, allocations: 12.34 kB / 1.265 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.9077, allocations: 61.22 kB / 1.265 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.9078, allocations: 20.8 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.9078, allocations: 49.94 kB / 1.265 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.9081, allocations: 133.1 kB / 1.265 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.9081, allocations: 0 / 1.265 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9081, allocations: 0 / 1.265 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.9081, allocations: 0.7812 kB / 1.265 GB, free: 6.293 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005296/0.9086, allocations: 421.3 kB / 1.266 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.9087, allocations: 9.562 kB / 1.266 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.9089, allocations: 32.59 kB / 1.266 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.9091, allocations: 193.9 kB / 1.266 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.178e-05/0.9092, allocations: 35.8 kB / 1.266 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.9092, allocations: 9.156 kB / 1.266 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.9095, allocations: 109.4 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.9095, allocations: 3.938 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.9095, allocations: 5.016 kB / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.9096, allocations: 2.062 kB / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.9098, allocations: 79.36 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006384/0.9105, allocations: 390.2 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.911, allocations: 124.9 kB / 1.267 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.9111, allocations: 42.83 kB / 1.267 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.9111, allocations: 4.75 kB / 1.267 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.9112, allocations: 32.36 kB / 1.267 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.9112, allocations: 0 / 1.267 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004342/0.9116, allocations: 135 kB / 1.267 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.9116, allocations: 57.16 kB / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.855e-05/0.9117, allocations: 143.3 kB / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.9118, allocations: 30.64 kB / 1.267 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.453e-05/0.9118, allocations: 95.94 kB / 1.267 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.9118, allocations: 28.55 kB / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.9119, allocations: 23.89 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.9119, allocations: 320.2 kB / 1.267 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.912, allocations: 34.06 kB / 1.267 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.9122, allocations: 47.23 kB / 1.268 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.9124, allocations: 75.16 kB / 1.268 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9124, allocations: 4.812 kB / 1.268 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002639/0.9127, allocations: 112.1 kB / 1.268 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.9127, allocations: 5.781 kB / 1.268 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.9127, allocations: 5 kB / 1.268 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.9127, allocations: 1.031 kB / 1.268 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.9128, allocations: 26.16 kB / 1.268 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.9129, allocations: 5.484 kB / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.9129, allocations: 10.67 kB / 1.268 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.913, allocations: 2.984 kB / 1.268 GB, free: 4.223 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 (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 5.498e-05/0.913, allocations: 117.4 kB / 1.268 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.9131, allocations: 12.97 kB / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.9131, allocations: 19.86 kB / 1.268 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.9131, allocations: 5.375 kB / 1.268 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.9131, allocations: 0 / 1.268 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.9131, allocations: 1.547 kB / 1.268 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.9133, allocations: 193.9 kB / 1.268 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.9133, allocations: 1.312 kB / 1.268 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.9134, allocations: 15.8 kB / 1.268 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.9134, allocations: 0 / 1.268 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.9134, allocations: 1.578 kB / 1.268 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.9135, allocations: 4.781 kB / 1.268 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.9135, allocations: 4.562 kB / 1.268 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.9137, allocations: 205.6 kB / 1.268 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.9138, allocations: 88.27 kB / 1.268 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.9138, allocations: 1.672 kB / 1.268 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.914, allocations: 18.09 kB / 1.268 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.914, allocations: 8.969 kB / 1.268 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.914, allocations: 6.359 kB / 1.268 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.233e-05/0.9141, allocations: 106.9 kB / 1.269 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9141, allocations: 0 / 1.269 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002449/0.9143, allocations: 16.66 kB / 1.269 GB, free: 3.496 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 (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.0001093/0.9145, allocations: 100.1 kB / 1.269 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.9148, allocations: 75.03 kB / 1.269 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9148, allocations: 4.062 kB / 1.269 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.915, allocations: 37.23 kB / 1.269 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.9153, allocations: 29.66 kB / 1.269 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.9159, allocations: 247.5 kB / 1.269 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.9161, allocations: 0.6975 MB / 1.27 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.9161, allocations: 11.66 kB / 1.27 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.9161, allocations: 4.719 kB / 1.27 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of Templates: time 0.004008/0.9201, allocations: 1.31 MB / 1.271 GB, free: 2.363 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 800] 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_2/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: 11.105493029113859]