Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001023/0.001023, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001648/0.002671, allocations: 449.8 kB / 10.44 MB, free: 252 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.000952/0.000952, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002284, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9594/0.9594, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09506/1.054, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.799/1.799, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5025/2.302, allocations: 123.3 MB / 0.7283 GB, free: 5.727 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.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0.6562 kB / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.526e-05, allocations: 7.156 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00161/0.001625, allocations: 1.368 MB / 0.731 GB, free: 3.051 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003171/0.001942, allocations: 307.6 kB / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.646e-05/0.001958, allocations: 4 kB / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.462e-06/0.001965, allocations: 0 / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.11e-05/0.001986, allocations: 3.375 kB / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.002145, allocations: 51.52 kB / 0.7313 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.021e-05/0.002205, allocations: 20.52 kB / 0.7314 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.327e-05/0.002238, allocations: 0 / 0.7314 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.653e-05/0.002295, allocations: 17.19 kB / 0.7314 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.002345, allocations: 5.281 kB / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.002356, allocations: 0 / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.002467, allocations: 64.86 kB / 0.7314 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.002479, allocations: 1.312 kB / 0.7314 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.444e-05/0.002493, allocations: 4.656 kB / 0.7315 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.002616, allocations: 42.56 kB / 0.7315 GB, free: 2.574 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.002626, allocations: 4 kB / 0.7315 GB, free: 2.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002627, allocations: 0.625 kB / 0.7315 GB, free: 2.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.002637, allocations: 0 / 0.7315 GB, free: 2.57 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003447/0.002982, allocations: 246.7 kB / 0.7317 GB, free: 2.305 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.003016, allocations: 12.03 kB / 0.7317 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.003249, allocations: 98.72 kB / 0.7318 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.604e-05/0.003335, allocations: 111.2 kB / 0.7319 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.003345, allocations: 4.375 kB / 0.7319 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.003357, allocations: 4.312 kB / 0.732 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.00346, allocations: 64.48 kB / 0.732 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.003466, allocations: 1.688 kB / 0.732 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.003474, allocations: 384 / 0.732 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.003481, allocations: 384 / 0.732 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.663e-05/0.003508, allocations: 12.7 kB / 0.732 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001061/0.003614, allocations: 70.02 kB / 0.7321 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/0.004316, allocations: 233.5 kB / 0.7323 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.004338, allocations: 21.5 kB / 0.7323 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.004345, allocations: 3.938 kB / 0.7323 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.004363, allocations: 31.69 kB / 0.7324 GB, free: 1.574 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.004364, allocations: 0 / 0.7324 GB, free: 1.574 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 9.627e-05/0.004461, allocations: 50.53 kB / 0.7324 GB, free: 1.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.004489, allocations: 56.3 kB / 0.7325 GB, free: 1.453 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.711e-05/0.004536, allocations: 94.72 kB / 0.7326 GB, free: 1.348 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.004547, allocations: 26.64 kB / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.033e-05/0.004567, allocations: 84.14 kB / 0.7327 GB, free: 1.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.004594, allocations: 12.42 kB / 0.7327 GB, free: 1.219 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.00462, allocations: 18.55 kB / 0.7327 GB, free: 1.195 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.004722, allocations: 319.9 kB / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.004733, allocations: 11.92 kB / 0.733 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-06/0.004742, allocations: 7.984 kB / 0.733 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.283e-05/0.004764, allocations: 17.67 kB / 0.733 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.004767, allocations: 4 kB / 0.733 GB, free: 0.832 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.103e-05/0.004808, allocations: 42.91 kB / 0.7331 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.004819, allocations: 8 kB / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.004823, allocations: 0.5469 kB / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.004833, allocations: 0.5938 kB / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.658e-05/0.004869, allocations: 9.453 kB / 0.7331 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.004872, allocations: 3.938 kB / 0.7331 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.635e-05/0.004888, allocations: 8 kB / 0.7331 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-06/0.004891, allocations: 1.312 kB / 0.7331 GB, free: 0.7578 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 4.868e-05/0.00494, allocations: 110.4 kB / 0.7332 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-06/0.004946, allocations: 4.75 kB / 0.7332 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.004966, allocations: 7.531 kB / 0.7332 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.004967, allocations: 0.75 kB / 0.7332 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.004969, allocations: 0 / 0.7332 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.004971, allocations: 1.875 kB / 0.7332 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.309e-05/0.005024, allocations: 77.08 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-07/0.005025, allocations: 0 / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.005043, allocations: 8 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.005064, allocations: 0 / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.005066, allocations: 1.344 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.005072, allocations: 7.938 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.005073, allocations: 4 kB / 0.7333 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005074, allocations: 0 / 0.7333 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.605e-05/0.00513, allocations: 82.22 kB / 0.7334 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-06/0.005137, allocations: 0 / 0.7334 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.539e-05/0.005163, allocations: 0 / 0.7334 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.005173, allocations: 0 / 0.7334 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.005177, allocations: 5.25 kB / 0.7334 GB, free: 424 kB / 0.698 GB Notification: Performance of sorting global known variables: time 7.113e-06/0.005184, allocations: 4.859 kB / 0.7334 GB, free: 416 kB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.005184, allocations: 3.25 kB / 0.7334 GB, free: 416 kB / 0.698 GB Notification: Performance of remove unused functions: time 9.093e-05/0.005275, allocations: 12 kB / 0.7334 GB, free: 404 kB / 0.698 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 5.939e-05/0.005334, allocations: 83.22 kB / 0.7335 GB, free: 312 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.982e-05/0.005394, allocations: 16.86 kB / 0.7335 GB, free: 292 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.005398, allocations: 0 / 0.7335 GB, free: 292 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.005414, allocations: 24.84 kB / 0.7335 GB, free: 264 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.005527, allocations: 26.89 kB / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006215/0.006149, allocations: 129.1 kB / 0.7337 GB, free: 84 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.064e-05/0.006179, allocations: 59.3 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.523e-05/0.006215, allocations: 4.438 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.006288, allocations: 63.36 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/0.006289, allocations: 0 / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of Templates: time 0.001863/0.008152, allocations: 0.6853 MB / 0.7345 GB, free: 15.29 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5956201842054725]