Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009308/0.0009308, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002384, allocations: 440 kB / 10.41 MB, free: 284 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.0009411/0.0009411, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001525/0.002466, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.009/1.009, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09971/1.109, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.393/2.393, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2683/2.661, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.843e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001663/0.001682, allocations: 1.356 MB / 0.8203 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003519/0.002034, allocations: 303 kB / 0.8205 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.002055, allocations: 0 / 0.8205 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 8.716e-06/0.002064, allocations: 3.938 kB / 0.8205 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.309e-05/0.002087, allocations: 7.922 kB / 0.8206 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.002242, allocations: 47.75 kB / 0.8206 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.999e-05/0.002312, allocations: 11.94 kB / 0.8206 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.002353, allocations: 7.984 kB / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.926e-05/0.002422, allocations: 11.92 kB / 0.8206 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.205e-05/0.002485, allocations: 12 kB / 0.8206 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.002499, allocations: 0 / 0.8206 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.002626, allocations: 59.88 kB / 0.8207 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.002638, allocations: 4 kB / 0.8207 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.267e-05/0.002651, allocations: 4 kB / 0.8207 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.002766, allocations: 55.77 kB / 0.8208 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.002778, allocations: 0 / 0.8208 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5e-07/0.002778, allocations: 0 / 0.8208 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.002788, allocations: 0 / 0.8208 GB, free: 0.582 MB / 0.7917 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.0003397/0.003128, allocations: 240.6 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.003159, allocations: 12.03 kB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.003359, allocations: 106 kB / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.633e-05/0.003425, allocations: 105.8 kB / 0.8212 GB, free: 60 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.003435, allocations: 4.375 kB / 0.8212 GB, free: 56 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.003446, allocations: 4.375 kB / 0.8212 GB, free: 52 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.364e-05/0.003539, allocations: 59.95 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-06/0.003544, allocations: 4.188 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.00355, allocations: 384 / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.003554, allocations: 384 / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.401e-05/0.003578, allocations: 19.86 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.187e-05/0.00366, allocations: 69.03 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006662/0.004326, allocations: 230.4 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.004344, allocations: 16.86 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.004353, allocations: 4 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.004372, allocations: 34.55 kB / 0.8216 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.004373, allocations: 0 / 0.8216 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 9.532e-05/0.004468, allocations: 49.62 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.004494, allocations: 55.41 kB / 0.8217 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.396e-05/0.004538, allocations: 94.72 kB / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.004551, allocations: 25.7 kB / 0.8218 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.969e-05/0.00457, allocations: 80.14 kB / 0.8219 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.004598, allocations: 27.95 kB / 0.8219 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.004621, allocations: 17.66 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.004693, allocations: 318.8 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.004701, allocations: 4 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.126e-06/0.004709, allocations: 4 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.44e-05/0.004733, allocations: 20.84 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004735, allocations: 0 / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.185e-05/0.004777, allocations: 41.97 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.004787, allocations: 4 kB / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.00479, allocations: 0 / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.004801, allocations: 3.984 kB / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.371e-05/0.004835, allocations: 12 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.004837, allocations: 0 / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.004852, allocations: 7.953 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.004857, allocations: 7.984 kB / 0.8224 GB, free: 14.75 MB / 0.8073 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.932e-05/0.004906, allocations: 113.8 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-06/0.004911, allocations: 4 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.004931, allocations: 7.531 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.004934, allocations: 4 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.004936, allocations: 3.984 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.004939, allocations: 0 / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.235e-05/0.004991, allocations: 73.84 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.004992, allocations: 0 / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.00501, allocations: 7.938 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.005034, allocations: 4 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.005035, allocations: 0 / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.00504, allocations: 4 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005041, allocations: 3.984 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005042, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.853e-05/0.005101, allocations: 73.06 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-06/0.005108, allocations: 0 / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.059e-05/0.005138, allocations: 4 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.005148, allocations: 4 kB / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.005152, allocations: 0 / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.307e-06/0.005161, allocations: 8.859 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005161, allocations: 0 / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.109e-05/0.005252, allocations: 8 kB / 0.8227 GB, free: 14.38 MB / 0.8073 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 6.953e-05/0.005322, allocations: 88.28 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.422e-05/0.005376, allocations: 16.86 kB / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.005379, allocations: 4 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.56e-05/0.005395, allocations: 20.92 kB / 0.8228 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.005504, allocations: 35.84 kB / 0.8228 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.006105, allocations: 132.6 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.044e-05/0.006135, allocations: 55.36 kB / 0.823 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.006163, allocations: 4 kB / 0.823 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.006221, allocations: 59.36 kB / 0.8231 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.006222, allocations: 0 / 0.8231 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of Templates: time 0.001893/0.008115, allocations: 0.7107 MB / 0.8238 GB, free: 13.21 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X/Buildings_latest_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: 5.1817087503150105]