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.001259/0.001259, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001435/0.001435, allocations: 213.6 kB / 23.04 MB, free: 4.844 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.16/3.16, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002093/0.002093, allocations: 67.86 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3339, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002475/0.3363, allocations: 1.277 MB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0006118/0.3369, allocations: 279.5 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.337, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.337, allocations: 3.938 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.651e-05/0.337, allocations: 3.984 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.3373, allocations: 51.75 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.357e-05/0.3374, allocations: 19.86 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.3374, allocations: 3.938 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.3375, allocations: 12 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.3375, allocations: 7.984 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3375, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.3377, allocations: 59.94 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.3377, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.3377, allocations: 11.94 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.3378, allocations: 47.83 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3378, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3378, allocations: 3.938 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.3379, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 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.0004095/0.3383, allocations: 262.2 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3383, allocations: 16.03 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.3385, allocations: 20.91 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.281e-05/0.3386, allocations: 102.5 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3386, allocations: 384 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.3386, allocations: 4.375 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.3388, allocations: 71.89 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3388, allocations: 192 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3388, allocations: 7.938 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.3388, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.402e-05/0.3389, allocations: 19.98 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.339, allocations: 101.3 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.3408, allocations: 262.5 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.3408, allocations: 20.84 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.3408, allocations: 8 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.3409, allocations: 34.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3409, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001662/0.341, allocations: 65.62 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3411, allocations: 51.41 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.16e-05/0.3411, allocations: 93.86 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3412, allocations: 25.7 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.3412, allocations: 80.14 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.3412, allocations: 15.83 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.3413, allocations: 17.72 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3414, allocations: 315 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.3414, allocations: 12 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.253e-05/0.3414, allocations: 16.11 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/0.3415, allocations: 28.94 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3415, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.486e-05/0.3416, allocations: 57.62 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3416, allocations: 4 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3416, allocations: 0 / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3416, allocations: 3.938 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.446e-05/0.3417, allocations: 4 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.3417, allocations: 4 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/0.3417, allocations: 7.953 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.3417, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 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.94e-05/0.3418, allocations: 128.3 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.3418, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.3419, allocations: 7.531 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3419, allocations: 3.938 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3419, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3419, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.238e-05/0.342, allocations: 105.3 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.342, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.342, allocations: 11.98 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.342, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.342, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.342, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.342, allocations: 7.938 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.3421, allocations: 73.12 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.3422, allocations: 8 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.3422, allocations: 3.938 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.865e-05/0.3422, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.3422, allocations: 7.922 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3423, allocations: 4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.3423, allocations: 79.28 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3423, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001873/0.3425, allocations: 8 kB / 1.331 GB, free: 12.75 MB / 1.029 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.0001128/0.3426, allocations: 99.23 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.3427, allocations: 23.98 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3427, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.768e-05/0.3427, allocations: 15.94 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.343, allocations: 23.25 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.3433, allocations: 156.6 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.315e-05/0.3434, allocations: 55.36 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.3434, allocations: 11.44 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3434, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of Templates: time 0.001889/0.3453, allocations: 0.5466 MB / 1.332 GB, free: 11.76 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.96350875403732]