Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001421/0.001421, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.001304/0.001304, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.411/1.411, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 437.1 MB / 0.7177 GB, free: 4.504 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3028, allocations: 151.6 MB / 1.176 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002241/0.3051, allocations: 1.262 MB / 1.177 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005785/0.3057, allocations: 299.5 kB / 1.177 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.3057, allocations: 0 / 1.177 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.3058, allocations: 3.938 kB / 1.177 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.3058, allocations: 0 / 1.177 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.3061, allocations: 47.75 kB / 1.177 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.557e-05/0.3062, allocations: 27.86 kB / 1.177 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.3062, allocations: 3.938 kB / 1.177 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.567e-05/0.3063, allocations: 11.98 kB / 1.177 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.3063, allocations: 8 kB / 1.177 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.3063, allocations: 3.938 kB / 1.177 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.3065, allocations: 51.95 kB / 1.178 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.3065, allocations: 4 kB / 1.178 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.3065, allocations: 11.92 kB / 1.178 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.3067, allocations: 55.77 kB / 1.178 GB, free: 4.133 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3067, allocations: 0 / 1.178 GB, free: 4.133 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3067, allocations: 0 / 1.178 GB, free: 4.133 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5e-06/0.3067, allocations: 0 / 1.178 GB, free: 4.133 MB / 0.92 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.0004276/0.3072, allocations: 335.4 kB / 1.178 GB, free: 3.754 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3072, allocations: 12.03 kB / 1.178 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.3074, allocations: 20.91 kB / 1.178 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.3075, allocations: 160.4 kB / 1.178 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3076, allocations: 384 / 1.178 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.3076, allocations: 4.375 kB / 1.178 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.3077, allocations: 42.25 kB / 1.178 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3077, allocations: 4.125 kB / 1.178 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3077, allocations: 7.938 kB / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3078, allocations: 4 kB / 1.178 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.933e-05/0.3078, allocations: 15.98 kB / 1.178 GB, free: 3.445 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.308, allocations: 153.7 kB / 1.178 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.3098, allocations: 270.4 kB / 1.179 GB, free: 2.973 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.3098, allocations: 16.86 kB / 1.179 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.3099, allocations: 0 / 1.179 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3099, allocations: 34.5 kB / 1.179 GB, free: 2.91 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3099, allocations: 4 kB / 1.179 GB, free: 2.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.000243/0.3101, allocations: 69.56 kB / 1.179 GB, free: 2.832 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.3102, allocations: 55.41 kB / 1.179 GB, free: 2.766 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/0.3103, allocations: 97.84 kB / 1.179 GB, free: 2.66 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.3103, allocations: 25.7 kB / 1.179 GB, free: 2.629 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.3103, allocations: 80.14 kB / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.3104, allocations: 11.95 kB / 1.179 GB, free: 2.535 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.3104, allocations: 13.67 kB / 1.179 GB, free: 2.516 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3106, allocations: 322.8 kB / 1.179 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.373e-05/0.3106, allocations: 7.984 kB / 1.179 GB, free: 2.184 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.3106, allocations: 12.12 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.787e-05/0.3107, allocations: 28.8 kB / 1.179 GB, free: 2.141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3107, allocations: 0 / 1.179 GB, free: 2.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.474e-05/0.3108, allocations: 53.69 kB / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.3108, allocations: 6.188 kB / 1.179 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3108, allocations: 3.938 kB / 1.179 GB, free: 2.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3109, allocations: 0 / 1.179 GB, free: 2.074 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.3109, allocations: 8 kB / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3109, allocations: 7.922 kB / 1.179 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.311, allocations: 0 / 1.179 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.311, allocations: 8 kB / 1.179 GB, free: 2.051 MB / 0.92 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 8.217e-05/0.3111, allocations: 113.8 kB / 1.179 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.3111, allocations: 0 / 1.179 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.3111, allocations: 11.44 kB / 1.18 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3111, allocations: 0 / 1.18 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3111, allocations: 4 kB / 1.18 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3111, allocations: 4 kB / 1.18 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.3113, allocations: 161.6 kB / 1.18 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3113, allocations: 0 / 1.18 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.3113, allocations: 4 kB / 1.18 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3114, allocations: 4 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.726e-05/0.3114, allocations: 7.922 kB / 1.18 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3114, allocations: 4 kB / 1.18 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3114, allocations: 0 / 1.18 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.3115, allocations: 77.12 kB / 1.18 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.3116, allocations: 81.06 kB / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.3116, allocations: 3.938 kB / 1.18 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.033e-05/0.3117, allocations: 8 kB / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.3117, allocations: 7.922 kB / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.3117, allocations: 0 / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.3118, allocations: 83.28 kB / 1.18 GB, free: 1.387 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.994e-06/0.3118, allocations: 0 / 1.18 GB, free: 1.387 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001829/0.312, allocations: 7.938 kB / 1.18 GB, free: 1.379 MB / 0.92 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 0.0001065/0.3121, allocations: 99.25 kB / 1.18 GB, free: 1.27 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.758e-05/0.3122, allocations: 24.36 kB / 1.18 GB, free: 1.246 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3122, allocations: 4.094 kB / 1.18 GB, free: 1.242 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.569e-05/0.3122, allocations: 15.94 kB / 1.18 GB, free: 1.227 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.3125, allocations: 14.22 kB / 1.18 GB, free: 1.215 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.3128, allocations: 148.5 kB / 1.18 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3132, allocations: 0.6729 MB / 1.181 GB, free: 348 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.3132, allocations: 11.44 kB / 1.181 GB, free: 336 kB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3132, allocations: 0 / 1.181 GB, free: 336 kB / 0.92 GB Notification: Performance of Templates: time 0.002164/0.3154, allocations: 0.5308 MB / 1.181 GB, free: 15.79 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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: 10.183259065030143]