Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001844/0.001844, allocations: 79.97 kB / 19.76 MB, free: 1.875 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.002174/0.002174, allocations: 162.2 kB / 23.01 MB, free: 4.602 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.397/1.397, allocations: 177.2 MB / 203.4 MB, free: 8.984 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.667/2.667, allocations: 359.1 MB / 0.6044 GB, free: 14.84 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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [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.002099/0.002099, allocations: 67.91 kB / 0.9515 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.287, allocations: 169.9 MB / 1.117 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002383/0.2894, allocations: 1.286 MB / 1.119 GB, free: 1.219 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2907, allocations: 0.7633 MB / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.2908, allocations: 0 / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.2908, allocations: 0 / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-05/0.2908, allocations: 3.938 kB / 1.119 GB, free: 460 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.2913, allocations: 139.3 kB / 1.12 GB, free: 320 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.006e-05/0.2914, allocations: 35.84 kB / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.2914, allocations: 0 / 1.12 GB, free: 284 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.92e-05/0.2914, allocations: 12 kB / 1.12 GB, free: 272 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.2915, allocations: 11.92 kB / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.2915, allocations: 0 / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.2918, allocations: 159.7 kB / 1.12 GB, free: 100 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.2918, allocations: 7.984 kB / 1.12 GB, free: 92 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.2919, allocations: 8 kB / 1.12 GB, free: 84 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.2921, allocations: 123.7 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2921, allocations: 0 / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2921, allocations: 0 / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2921, allocations: 0 / 1.12 GB, free: 15.96 MB / 1.076 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.000427/0.2926, allocations: 286 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2926, allocations: 12.03 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.2926, allocations: 4.922 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.2928, allocations: 114.4 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-05/0.2929, allocations: 55.97 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.2929, allocations: 8.375 kB / 1.12 GB, free: 15.42 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.293, allocations: 67.95 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.293, allocations: 3.938 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.293, allocations: 0 / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.293, allocations: 3.984 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.728e-05/0.2931, allocations: 19.98 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.2933, allocations: 105.3 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.2935, allocations: 46.55 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.2936, allocations: 24.94 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/0.2938, allocations: 27.97 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.2938, allocations: 30.56 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2938, allocations: 0 / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002476/0.294, allocations: 69.8 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.2941, allocations: 55.34 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.235e-05/0.2942, allocations: 101.8 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.2942, allocations: 29.7 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.2942, allocations: 80.14 kB / 1.121 GB, free: 14.67 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.2942, allocations: 15.91 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.2943, allocations: 21.7 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2944, allocations: 314.8 kB / 1.121 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.2945, allocations: 7.984 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.955e-05/0.2945, allocations: 8 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.2946, allocations: 28.84 kB / 1.121 GB, free: 14.26 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2946, allocations: 0 / 1.121 GB, free: 14.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001372/0.2947, allocations: 61.62 kB / 1.121 GB, free: 14.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.2947, allocations: 11.88 kB / 1.121 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2948, allocations: 0 / 1.121 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2948, allocations: 7.922 kB / 1.121 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.707e-05/0.2948, allocations: 12 kB / 1.121 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.2948, allocations: 0 / 1.121 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.2949, allocations: 4 kB / 1.121 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.2949, allocations: 0 / 1.121 GB, free: 14.16 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 7.433e-05/0.2949, allocations: 109.8 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.295, allocations: 11.95 kB / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.2951, allocations: 73.27 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2951, allocations: 4 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2951, allocations: 0 / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2951, allocations: 7.938 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.883e-05/0.2952, allocations: 105.3 kB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2952, allocations: 0 / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.58e-05/0.2953, allocations: 15.98 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2953, allocations: 0 / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.2953, allocations: 0 / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2953, allocations: 3.938 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2953, allocations: 4 kB / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.2955, allocations: 81.11 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.2955, allocations: 7.953 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.2955, allocations: 0 / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.437e-05/0.2956, allocations: 7.938 kB / 1.122 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.2956, allocations: 3.984 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.2956, allocations: 8 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.135e-05/0.2957, allocations: 75.7 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.2957, allocations: 3.938 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002352/0.2959, allocations: 39.86 kB / 1.122 GB, free: 13.54 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 0.0002081/0.2961, allocations: 147.1 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.2963, allocations: 27.97 kB / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2963, allocations: 0 / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.709e-05/0.2963, allocations: 11.98 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.2965, allocations: 8 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.2968, allocations: 135.3 kB / 1.122 GB, free: 13.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.837e-05/0.2968, allocations: 59.34 kB / 1.122 GB, free: 13.1 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.54e-05/0.2969, allocations: 4 kB / 1.122 GB, free: 13.1 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.2969, allocations: 12.5 kB / 1.122 GB, free: 13.08 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.2969, allocations: 0 / 1.122 GB, free: 13.08 MB / 1.076 GB Notification: Performance of Templates: time 0.003675/0.3006, allocations: 1.105 MB / 1.123 GB, free: 11.99 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.20914890395943]