Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001313/0.001313, allocations: 79.81 kB / 19.76 MB, free: 2.031 MB / 14.72 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.00142/0.00142, allocations: 157.6 kB / 23.01 MB, free: 4.945 MB / 14.72 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.402/1.402, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.604/2.604, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00343/0.00343, allocations: 67.89 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3101, allocations: 169.9 MB / 1.117 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002486/0.3126, allocations: 1.278 MB / 1.119 GB, free: 1.238 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005911/0.3132, allocations: 271.2 kB / 1.119 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.3132, allocations: 0 / 1.119 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.3132, allocations: 4 kB / 1.119 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.98e-05/0.3133, allocations: 3.938 kB / 1.119 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.3136, allocations: 43.77 kB / 1.119 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.356e-05/0.3136, allocations: 27.86 kB / 1.119 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.3137, allocations: 3.984 kB / 1.119 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.434e-05/0.3137, allocations: 4 kB / 1.119 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.3138, allocations: 7.984 kB / 1.119 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.3138, allocations: 0 / 1.119 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3139, allocations: 59.89 kB / 1.119 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.3139, allocations: 7.938 kB / 1.119 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.3139, allocations: 4 kB / 1.119 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.3141, allocations: 55.81 kB / 1.119 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3141, allocations: 3.938 kB / 1.119 GB, free: 0.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3141, allocations: 0 / 1.119 GB, free: 0.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.3141, allocations: 0 / 1.119 GB, free: 0.75 MB / 1.061 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.0004059/0.3145, allocations: 262.2 kB / 1.119 GB, free: 472 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.3145, allocations: 8.031 kB / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.3147, allocations: 20.92 kB / 1.119 GB, free: 444 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.909e-05/0.3148, allocations: 106.5 kB / 1.12 GB, free: 312 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.3148, allocations: 384 / 1.12 GB, free: 312 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.3148, allocations: 384 / 1.12 GB, free: 312 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.315, allocations: 71.94 kB / 1.12 GB, free: 228 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.315, allocations: 192 / 1.12 GB, free: 228 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.315, allocations: 3.938 kB / 1.12 GB, free: 224 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.315, allocations: 3.984 kB / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.182e-05/0.3151, allocations: 23.94 kB / 1.12 GB, free: 196 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.3152, allocations: 105.4 kB / 1.12 GB, free: 60 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.3171, allocations: 262.4 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.3172, allocations: 16.86 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.3172, allocations: 0 / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.3172, allocations: 38.56 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3172, allocations: 0 / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0001684/0.3174, allocations: 69.56 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.3174, allocations: 51.41 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.3175, allocations: 97.84 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3175, allocations: 25.7 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.3176, allocations: 80.14 kB / 1.12 GB, free: 15.37 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.3176, allocations: 15.84 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.3176, allocations: 17.72 kB / 1.12 GB, free: 15.33 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3178, allocations: 310.8 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.3178, allocations: 15.92 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.3178, allocations: 4 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.296e-05/0.3179, allocations: 32.98 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3179, allocations: 0 / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.884e-05/0.318, allocations: 57.62 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.318, allocations: 8 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.318, allocations: 0 / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.318, allocations: 3.938 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.3181, allocations: 7.984 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.3181, allocations: 0 / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.3181, allocations: 3.953 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.3181, allocations: 4 kB / 1.121 GB, free: 14.88 MB / 1.076 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.445e-05/0.3182, allocations: 109.8 kB / 1.121 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.3182, allocations: 4 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.3182, allocations: 11.47 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3182, allocations: 3.938 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3182, allocations: 0 / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.3182, allocations: 0 / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.3184, allocations: 109.3 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3184, allocations: 0 / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.3184, allocations: 11.94 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3184, allocations: 4 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.3184, allocations: 4.328 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3184, allocations: 7.984 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.3184, allocations: 3.938 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.3185, allocations: 81.11 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.3186, allocations: 3.984 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.3186, allocations: 0 / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.689e-05/0.3186, allocations: 8 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.3187, allocations: 3.938 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3187, allocations: 0 / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.672e-05/0.3187, allocations: 79.28 kB / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3187, allocations: 0 / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001911/0.3189, allocations: 8.094 kB / 1.121 GB, free: 14.36 MB / 1.076 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 9.855e-05/0.319, allocations: 107.1 kB / 1.121 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.229e-05/0.3191, allocations: 20 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3191, allocations: 4 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.558e-05/0.3191, allocations: 15.98 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.3193, allocations: 4 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.3196, allocations: 146.6 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.379e-05/0.3197, allocations: 59.34 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.664e-05/0.3197, allocations: 0 / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.3198, allocations: 16.5 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.3198, allocations: 0 / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of Templates: time 0.002757/0.3225, allocations: 0.5199 MB / 1.122 GB, free: 13.43 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.0155887180008]