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.00163/0.00163, allocations: 80.69 kB / 19.18 MB, free: 2.52 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.001834/0.001834, allocations: 169.1 kB / 22.46 MB, free: 5.371 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.465/1.465, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.889/2.889, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.743e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002427/0.002455, allocations: 1.286 MB / 0.9827 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005983/0.003053, allocations: 263.2 kB / 0.9829 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.003078, allocations: 3.938 kB / 0.9829 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.003099, allocations: 0 / 0.9829 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.424e-05/0.003143, allocations: 3.984 kB / 0.9829 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.003438, allocations: 63.62 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.898e-05/0.003507, allocations: 15.88 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.003549, allocations: 7.922 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.52e-05/0.003624, allocations: 15.98 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.003667, allocations: 0 / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.003682, allocations: 4 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.00381, allocations: 51.94 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.003822, allocations: 0 / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.003843, allocations: 4 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.004002, allocations: 59.75 kB / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.004006, allocations: 8 kB / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.11e-07/0.004007, allocations: 0 / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.004015, allocations: 0 / 0.9832 GB, free: 10.18 MB / 0.9356 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.0004007/0.004416, allocations: 258.3 kB / 0.9834 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.004449, allocations: 8.031 kB / 0.9834 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.00466, allocations: 20.91 kB / 0.9834 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.00476, allocations: 101.8 kB / 0.9835 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.004772, allocations: 8.375 kB / 0.9835 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.004781, allocations: 384 / 0.9835 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.00493, allocations: 75.89 kB / 0.9836 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004936, allocations: 192 / 0.9836 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.004946, allocations: 384 / 0.9836 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.00495, allocations: 384 / 0.9836 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.256e-05/0.005003, allocations: 19.92 kB / 0.9836 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.005154, allocations: 105.3 kB / 0.9837 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.007073, allocations: 270.5 kB / 0.984 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.007128, allocations: 24.83 kB / 0.984 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.007137, allocations: 0 / 0.984 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.007172, allocations: 34.5 kB / 0.984 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.007173, allocations: 0 / 0.984 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001959/0.007369, allocations: 65.64 kB / 0.9841 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.007412, allocations: 51.41 kB / 0.9842 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.568e-05/0.007488, allocations: 97.8 kB / 0.9843 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.007521, allocations: 29.83 kB / 0.9843 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.007558, allocations: 80.14 kB / 0.9844 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.007591, allocations: 19.84 kB / 0.9844 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.00763, allocations: 13.7 kB / 0.9844 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.007782, allocations: 318.8 kB / 0.9847 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.007803, allocations: 4 kB / 0.9847 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.007823, allocations: 8 kB / 0.9847 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.594e-05/0.007889, allocations: 32.78 kB / 0.9847 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007891, allocations: 0 / 0.9847 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.308e-05/0.007984, allocations: 57.69 kB / 0.9848 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.008, allocations: 4 kB / 0.9848 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.008004, allocations: 7.938 kB / 0.9848 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.00802, allocations: 0 / 0.9848 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.008082, allocations: 8 kB / 0.9848 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.008087, allocations: 0 / 0.9848 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.184e-05/0.008129, allocations: 7.875 kB / 0.9848 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.008134, allocations: 0 / 0.9848 GB, free: 8.297 MB / 0.9356 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 0.0001237/0.008258, allocations: 117.8 kB / 0.9849 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.008271, allocations: 0 / 0.9849 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.008307, allocations: 11.52 kB / 0.9849 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.008311, allocations: 4 kB / 0.9849 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.008315, allocations: 4 kB / 0.9849 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.008322, allocations: 3.938 kB / 0.985 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.008429, allocations: 105.3 kB / 0.9851 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.00843, allocations: 0 / 0.9851 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.008477, allocations: 4 kB / 0.9851 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.008481, allocations: 4 kB / 0.9851 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.008488, allocations: 0 / 0.9851 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.008489, allocations: 0 / 0.9851 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.008492, allocations: 3.984 kB / 0.9851 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.008638, allocations: 81.02 kB / 0.9851 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.008683, allocations: 8.375 kB / 0.9851 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.008695, allocations: 4 kB / 0.9852 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.393e-05/0.008749, allocations: 0 / 0.9852 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.008766, allocations: 11.92 kB / 0.9852 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.008771, allocations: 0 / 0.9852 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.008814, allocations: 79.22 kB / 0.9852 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.008814, allocations: 0 / 0.9852 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001988/0.009012, allocations: 11.94 kB / 0.9853 GB, free: 7.793 MB / 0.9356 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.0001395/0.009152, allocations: 99.78 kB / 0.9853 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.009263, allocations: 28.06 kB / 0.9854 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.009265, allocations: 0 / 0.9854 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/0.009294, allocations: 15.94 kB / 0.9854 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.00955, allocations: 10.17 kB / 0.9854 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.009893, allocations: 116.8 kB / 0.9855 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.452e-05/0.009957, allocations: 59.36 kB / 0.9856 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.01, allocations: 8 kB / 0.9856 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.01003, allocations: 8.5 kB / 0.9856 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.01003, allocations: 0 / 0.9856 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of Templates: time 0.003018/0.01305, allocations: 0.5354 MB / 0.9861 GB, free: 6.883 MB / 0.9356 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/jenkins/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: 8.044037081301212]