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.001649/0.001649, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001786/0.001786, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.434/1.434, allocations: 225.6 MB / 249.4 MB, free: 3.152 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.625/2.625, allocations: 443.5 MB / 0.7304 GB, free: 14.02 MB / 0.5762 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.001944/0.001944, allocations: 71.89 kB / 1.059 GB, free: 384 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3228, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002428/0.3252, allocations: 1.266 MB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006239/0.3259, allocations: 299 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.3259, allocations: 0 / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.3259, allocations: 3.938 kB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/0.3259, allocations: 3.938 kB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.3263, allocations: 51.73 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.171e-05/0.3263, allocations: 23.92 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.3264, allocations: 4 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/0.3264, allocations: 7.938 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.3265, allocations: 4 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.3265, allocations: 0 / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.3266, allocations: 59.94 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.3266, allocations: 3.938 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.3266, allocations: 15.92 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.3268, allocations: 43.84 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.3268, allocations: 0 / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3268, allocations: 0 / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.3268, allocations: 0 / 1.218 GB, free: 13.55 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.000424/0.3272, allocations: 343.3 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3272, allocations: 8.031 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.3275, allocations: 20.91 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3276, allocations: 160.4 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3276, allocations: 4.375 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.3276, allocations: 4.375 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.3277, allocations: 42.25 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3277, allocations: 4.188 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3277, allocations: 3.938 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3277, allocations: 0 / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.278e-05/0.3278, allocations: 19.92 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.328, allocations: 153.7 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.3299, allocations: 270.5 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.3299, allocations: 16.86 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.3299, allocations: 0 / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.33, allocations: 34.55 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.33, allocations: 0 / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001808/0.3301, allocations: 77.5 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3302, allocations: 55.41 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.3303, allocations: 93.86 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3303, allocations: 25.7 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.3303, allocations: 80.14 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.3303, allocations: 11.94 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.3304, allocations: 17.67 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3305, allocations: 318.8 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.3305, allocations: 8.125 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.3306, allocations: 12 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.007e-05/0.3306, allocations: 28.78 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3306, allocations: 0 / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.988e-05/0.3307, allocations: 53.64 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3307, allocations: 9.719 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3307, allocations: 7.922 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3307, allocations: 0 / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.755e-05/0.3308, allocations: 7.938 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3308, allocations: 0 / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.3308, allocations: 8 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.3308, allocations: 7.984 kB / 1.22 GB, free: 11.45 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.595e-05/0.3309, allocations: 109.8 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.3309, allocations: 4 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.331, allocations: 11.44 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.331, allocations: 0 / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.331, allocations: 0 / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.331, allocations: 3.984 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.3311, allocations: 153.6 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3311, allocations: 4 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.3311, allocations: 15.92 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3311, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.3312, allocations: 3.938 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3312, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3312, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.3313, allocations: 77.12 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.3313, allocations: 85.06 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.3313, allocations: 11.92 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.116e-05/0.3314, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.3314, allocations: 4 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.3314, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.788e-05/0.3315, allocations: 79.28 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3315, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001814/0.3316, allocations: 8 kB / 1.22 GB, free: 10.79 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.0001117/0.3317, allocations: 99.19 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.3319, allocations: 32.45 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3319, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-05/0.3319, allocations: 11.98 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.3321, allocations: 8 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.3324, allocations: 142.6 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3327, allocations: 0.6806 MB / 1.221 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.188e-05/0.3328, allocations: 11.91 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.3328, allocations: 11.44 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3328, allocations: 0 / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of Templates: time 0.002699/0.3355, allocations: 0.5337 MB / 1.222 GB, free: 9.211 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.060223491862416]