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.0008411/0.0008411, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008025/0.0008025, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8562/0.8562, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.727/1.727, allocations: 389 MB / 0.6338 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: 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 1.352e-06/1.352e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.606e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001882/0.001898, allocations: 1.673 MB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005514/0.00245, allocations: 370.7 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.002515, allocations: 7.938 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.906e-05/0.002614, allocations: 15.86 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.002656, allocations: 23.78 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.003009, allocations: 118.2 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.003133, allocations: 111.5 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.003244, allocations: 23.98 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.003318, allocations: 63.88 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.003375, allocations: 27.97 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.003396, allocations: 8 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.831e-05/0.003494, allocations: 63.88 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.003519, allocations: 23.91 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.003553, allocations: 31.91 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.003751, allocations: 143.5 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.003753, allocations: 3.984 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.91e-07/0.003754, allocations: 0 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003758, allocations: 0 / 1.003 GB, free: 10.32 MB / 0.9636 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.0004665/0.004224, allocations: 349.8 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.004263, allocations: 9.344 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.00442, allocations: 28.86 kB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.004618, allocations: 141.6 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/0.004692, allocations: 59.97 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.004706, allocations: 8.375 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.004915, allocations: 137.5 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.004924, allocations: 192 / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.004941, allocations: 12.36 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.004947, allocations: 4.125 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.005095, allocations: 79.94 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.005589, allocations: 300.2 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.005913, allocations: 134.6 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.005976, allocations: 32.84 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.005988, allocations: 0 / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.006007, allocations: 34.56 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.006008, allocations: 0 / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0004249/0.006433, allocations: 137.7 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.006461, allocations: 55.41 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.006545, allocations: 133 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.006561, allocations: 29.7 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.006608, allocations: 96.05 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.006629, allocations: 35.66 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.006661, allocations: 17.72 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.006749, allocations: 322.8 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.716e-05/0.006806, allocations: 27.98 kB / 1.006 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-05/0.006868, allocations: 53.98 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.00698, allocations: 77.67 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.006982, allocations: 0 / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001442/0.007126, allocations: 109.5 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.00714, allocations: 8 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.007145, allocations: 0 / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.007158, allocations: 4.031 kB / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.007219, allocations: 19.98 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.007225, allocations: 0 / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/0.007263, allocations: 11.92 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.00727, allocations: 4 kB / 1.006 GB, free: 7.691 MB / 0.9636 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 7.178e-05/0.007341, allocations: 121.7 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.007358, allocations: 3.953 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.00738, allocations: 16.44 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.007382, allocations: 0 / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.007388, allocations: 4 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.007391, allocations: 3.984 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.007515, allocations: 137.2 kB / 1.006 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.007517, allocations: 0 / 1.006 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.007564, allocations: 15.98 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.007565, allocations: 0 / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-06/0.007572, allocations: 0 / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.00758, allocations: 3.984 kB / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007581, allocations: 0 / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.007752, allocations: 207.3 kB / 1.006 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.007762, allocations: 11.95 kB / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.007773, allocations: 0 / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.007843, allocations: 15.98 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.007884, allocations: 3.984 kB / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.007892, allocations: 4 kB / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.983e-05/0.007932, allocations: 95.27 kB / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007932, allocations: 3.938 kB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001652/0.008097, allocations: 27.89 kB / 1.007 GB, free: 6.973 MB / 0.9636 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 8.842e-05/0.008186, allocations: 99.25 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.008361, allocations: 79.86 kB / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.008363, allocations: 3.938 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.043e-05/0.008423, allocations: 31.98 kB / 1.007 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.008654, allocations: 26.59 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.00905, allocations: 230.9 kB / 1.007 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.447e-05/0.009104, allocations: 79.31 kB / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.009141, allocations: 12.5 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of SimCode: time 7.02e-07/0.009141, allocations: 0 / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of Templates: time 0.001909/0.01105, allocations: 1.273 MB / 1.008 GB, free: 5.086 MB / 0.9636 GB " [Timeout remaining time 300] 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/jenkins/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: 6.4488735208287835]