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.001325/0.001325, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001367/0.001367, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.406/1.406, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.712/2.712, allocations: 443.5 MB / 0.7293 GB, free: 14.59 MB / 0.5762 GB " [Timeout remaining time 176] 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.002114/0.002114, allocations: 63.89 kB / 1.057 GB, free: 2.047 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3107, allocations: 160.7 MB / 1.214 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002762/0.3135, allocations: 1.261 MB / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006857/0.3142, allocations: 299.1 kB / 1.216 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.3142, allocations: 0 / 1.216 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.3142, allocations: 3.938 kB / 1.216 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.08e-05/0.3143, allocations: 8 kB / 1.216 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.3146, allocations: 43.7 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.3147, allocations: 31.84 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.3148, allocations: 0 / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.3148, allocations: 7.938 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.754e-05/0.3149, allocations: 7.984 kB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.3149, allocations: 0 / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.3151, allocations: 55.95 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.3151, allocations: 4 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.3151, allocations: 11.94 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.3153, allocations: 51.81 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3153, allocations: 0 / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3153, allocations: 0 / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3153, allocations: 0 / 1.216 GB, free: 15.23 MB / 0.9669 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.0004758/0.3158, allocations: 339.3 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3158, allocations: 12.03 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.3161, allocations: 16.92 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3162, allocations: 164.4 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3162, allocations: 4.375 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.3162, allocations: 4.375 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3163, allocations: 50.17 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3164, allocations: 4.188 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3164, allocations: 3.938 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3164, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.468e-05/0.3164, allocations: 12 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.3166, allocations: 161.7 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.3185, allocations: 262.5 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.779e-05/0.3185, allocations: 24.84 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.3186, allocations: 0 / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3186, allocations: 34.5 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3186, allocations: 0 / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001849/0.3188, allocations: 69.58 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.3188, allocations: 51.41 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.3189, allocations: 93.86 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3189, allocations: 25.7 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.319, allocations: 84.27 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.319, allocations: 15.89 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.319, allocations: 13.72 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3192, allocations: 314.8 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.3192, allocations: 8 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.3192, allocations: 15.92 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.463e-05/0.3193, allocations: 24.86 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3193, allocations: 0 / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.12e-05/0.3194, allocations: 57.62 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3194, allocations: 8 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3194, allocations: 3.938 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3194, allocations: 0 / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.3195, allocations: 4 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3195, allocations: 7.922 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.3195, allocations: 4 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3195, allocations: 4 kB / 1.218 GB, free: 13.14 MB / 0.9669 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.29e-05/0.3196, allocations: 113.8 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.3196, allocations: 8 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.3196, allocations: 11.77 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3196, allocations: 0 / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3196, allocations: 0 / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3196, allocations: 3.984 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.3198, allocations: 161.6 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.3198, allocations: 4 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.3198, allocations: 4 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3198, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3198, allocations: 3.938 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3198, allocations: 0 / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3198, allocations: 4 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.32, allocations: 89.02 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.3201, allocations: 81.09 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3201, allocations: 3.938 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.749e-05/0.3201, allocations: 4 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.3201, allocations: 4 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/0.3201, allocations: 0 / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.3202, allocations: 87.27 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3202, allocations: 0 / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000187/0.3204, allocations: 8 kB / 1.218 GB, free: 12.46 MB / 0.9669 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.0001542/0.3205, allocations: 95.25 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.3206, allocations: 27.98 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3206, allocations: 0 / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.471e-05/0.3207, allocations: 11.94 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.3209, allocations: 16.08 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.3213, allocations: 148.3 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.3216, allocations: 0.6768 MB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.3216, allocations: 11.44 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.3216, allocations: 7.875 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of Templates: time 0.002006/0.3236, allocations: 0.5279 MB / 1.22 GB, free: 10.88 MB / 0.9669 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.430264504160732]