Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001019/0.001019, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.002187, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007343/0.0007343, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009805/0.001715, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.022/1.022, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08597/1.108, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.824/1.824, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4459/2.27, allocations: 123.3 MB / 0.728 GB, free: 5.84 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.523e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002461/0.002476, allocations: 1.75 MB / 0.731 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.00395, allocations: 415.2 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.004009, allocations: 4 kB / 0.7314 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.095e-05/0.00406, allocations: 9.297 kB / 0.7314 GB, free: 2.398 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.312e-05/0.004103, allocations: 26.2 kB / 0.7315 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.004363, allocations: 112.3 kB / 0.7316 GB, free: 2.281 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.004486, allocations: 112.8 kB / 0.7317 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.004585, allocations: 31.91 kB / 0.7317 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.004699, allocations: 68.47 kB / 0.7318 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.39e-05/0.004763, allocations: 31.91 kB / 0.7318 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.004784, allocations: 8.844 kB / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.004907, allocations: 59.94 kB / 0.7319 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.004928, allocations: 21.17 kB / 0.7319 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.004956, allocations: 23.94 kB / 0.7319 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.005119, allocations: 99.62 kB / 0.732 GB, free: 1.836 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.438e-05/0.005134, allocations: 8.828 kB / 0.732 GB, free: 1.828 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005134, allocations: 0 / 0.732 GB, free: 1.828 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.005147, allocations: 3.938 kB / 0.732 GB, free: 1.824 MB / 0.698 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.0004075/0.005554, allocations: 334.4 kB / 0.7323 GB, free: 1.473 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.00559, allocations: 8.031 kB / 0.7324 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.005784, allocations: 117.9 kB / 0.7325 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.005928, allocations: 134.4 kB / 0.7326 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/0.005975, allocations: 60.72 kB / 0.7327 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.005988, allocations: 8.375 kB / 0.7327 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.006124, allocations: 114.1 kB / 0.7328 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.00613, allocations: 192 / 0.7328 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.006139, allocations: 4.375 kB / 0.7328 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.006145, allocations: 8.125 kB / 0.7328 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.345e-05/0.006198, allocations: 31.66 kB / 0.7328 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.006533, allocations: 228.9 kB / 0.733 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.006825, allocations: 120.1 kB / 0.7331 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.006846, allocations: 13.36 kB / 0.7332 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.006854, allocations: 1.094 kB / 0.7332 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.006876, allocations: 34.56 kB / 0.7332 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.006878, allocations: 0.5938 kB / 0.7332 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001161/0.006994, allocations: 65.81 kB / 0.7333 GB, free: 452 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.007018, allocations: 56.53 kB / 0.7333 GB, free: 384 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.755e-05/0.007075, allocations: 121.7 kB / 0.7334 GB, free: 252 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.007089, allocations: 33.64 kB / 0.7335 GB, free: 212 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.007126, allocations: 108.7 kB / 0.7336 GB, free: 100 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.007143, allocations: 19.8 kB / 0.7336 GB, free: 80 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.007177, allocations: 26.22 kB / 0.7336 GB, free: 48 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.007269, allocations: 319.9 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.007285, allocations: 4 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.412e-05/0.007309, allocations: 21.7 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.1e-05/0.00735, allocations: 39.84 kB / 0.734 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.007353, allocations: 3.938 kB / 0.734 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.585e-05/0.007418, allocations: 65.61 kB / 0.734 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.00743, allocations: 4 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.007435, allocations: 9.141 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.007442, allocations: 0 / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.007509, allocations: 16 kB / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.007512, allocations: 1.312 kB / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.939e-05/0.007541, allocations: 11.98 kB / 0.7341 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.007546, allocations: 0 / 0.7341 GB, free: 15.54 MB / 0.7136 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.495e-05/0.007601, allocations: 122.5 kB / 0.7342 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.007618, allocations: 4 kB / 0.7342 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.007647, allocations: 17.06 kB / 0.7342 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.00765, allocations: 3.984 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.007653, allocations: 0.7188 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.007656, allocations: 0 / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.007763, allocations: 90.56 kB / 0.7343 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.007764, allocations: 0 / 0.7343 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.007803, allocations: 16.8 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.007814, allocations: 11.88 kB / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.007815, allocations: 1.375 kB / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.00782, allocations: 0 / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.007821, allocations: 0 / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.007824, allocations: 4 kB / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.742e-05/0.007921, allocations: 156.7 kB / 0.7345 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.007934, allocations: 4 kB / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.433e-05/0.007988, allocations: 4 kB / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.008018, allocations: 9.141 kB / 0.7345 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.008025, allocations: 4 kB / 0.7345 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.65e-05/0.008042, allocations: 20.83 kB / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008042, allocations: 1.25 kB / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001289/0.00817, allocations: 19.95 kB / 0.7345 GB, free: 15.02 MB / 0.7136 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 7.027e-05/0.008241, allocations: 81.23 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.116e-05/0.008312, allocations: 40.16 kB / 0.7347 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.008319, allocations: 4 kB / 0.7347 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.552e-05/0.008344, allocations: 24.84 kB / 0.7347 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.008541, allocations: 36.2 kB / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.00934, allocations: 223.3 kB / 0.7349 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.009373, allocations: 59.34 kB / 0.735 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.69e-05/0.00942, allocations: 14.62 kB / 0.735 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.009527, allocations: 83.31 kB / 0.7351 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/0.009528, allocations: 0 / 0.7351 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.002833/0.01236, allocations: 1.512 MB / 0.7366 GB, free: 12.98 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.868979529477656]