Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 249.9 MB, free: 3.242 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 443.5 MB / 0.731 GB, free: 14.19 MB / 0.5763 GB [Timeout remaining time 87] 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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.91 kB / 1.06 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3348, allocations: 160.7 MB / 1.217 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002498/0.3373, allocations: 1.282 MB / 1.218 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3387, allocations: 0.8309 MB / 1.219 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.3388, allocations: 0 / 1.219 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.3388, allocations: 0 / 1.219 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.3388, allocations: 7.922 kB / 1.219 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.3393, allocations: 127.4 kB / 1.219 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.359e-05/0.3394, allocations: 23.92 kB / 1.219 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.3395, allocations: 8 kB / 1.219 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.633e-05/0.3395, allocations: 11.98 kB / 1.219 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.3396, allocations: 11.92 kB / 1.219 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.3396, allocations: 4 kB / 1.219 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.3399, allocations: 163.7 kB / 1.219 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.34, allocations: 11.98 kB / 1.219 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.34, allocations: 11.92 kB / 1.219 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.3403, allocations: 119.6 kB / 1.219 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3403, allocations: 7.938 kB / 1.219 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3403, allocations: 0 / 1.219 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3403, allocations: 0 / 1.219 GB, free: 12.96 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.0005235/0.3408, allocations: 363.2 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3408, allocations: 8.031 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.3409, allocations: 4.891 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.341, allocations: 164.4 kB / 1.22 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/0.3411, allocations: 34.2 kB / 1.22 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.3411, allocations: 8.359 kB / 1.22 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.3413, allocations: 46.23 kB / 1.22 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3413, allocations: 7.938 kB / 1.22 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3413, allocations: 0 / 1.22 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3413, allocations: 0 / 1.22 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.963e-05/0.3414, allocations: 23.92 kB / 1.22 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.3416, allocations: 161.6 kB / 1.22 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.3418, allocations: 42.56 kB / 1.22 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.89e-05/0.3418, allocations: 12.86 kB / 1.22 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003216/0.3422, allocations: 182.3 kB / 1.22 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.3422, allocations: 34.55 kB / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3422, allocations: 0 / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002635/0.3425, allocations: 69.56 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.3425, allocations: 55.39 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/0.3426, allocations: 101.9 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3426, allocations: 25.7 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.3426, allocations: 84.14 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3427, allocations: 15.84 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.3427, allocations: 17.7 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3428, allocations: 314.8 kB / 1.221 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-05/0.3429, allocations: 12 kB / 1.221 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.133e-05/0.3429, allocations: 7.984 kB / 1.221 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.473e-05/0.343, allocations: 32.84 kB / 1.221 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.343, allocations: 0 / 1.221 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000137/0.3432, allocations: 57.62 kB / 1.221 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3432, allocations: 7.938 kB / 1.221 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3432, allocations: 0 / 1.221 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3432, allocations: 0 / 1.221 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.081e-05/0.3433, allocations: 16.5 kB / 1.221 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3433, allocations: 0 / 1.221 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.3433, allocations: 11.95 kB / 1.221 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.3433, allocations: 0 / 1.221 GB, free: 10.81 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 7.767e-05/0.3434, allocations: 108.7 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.3434, allocations: 7.938 kB / 1.221 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.3436, allocations: 73.08 kB / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3436, allocations: 4 kB / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3436, allocations: 0 / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3436, allocations: 0 / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.3437, allocations: 161.7 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3437, allocations: 0 / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.011e-05/0.3438, allocations: 8 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3438, allocations: 7.875 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3438, allocations: 3.938 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3438, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3438, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.344, allocations: 89 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.344, allocations: 89.09 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3441, allocations: 3.938 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.71e-05/0.3441, allocations: 0 / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.3441, allocations: 8 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.3442, allocations: 0 / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.3442, allocations: 83.27 kB / 1.222 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3442, allocations: 0 / 1.222 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002411/0.3444, allocations: 35.81 kB / 1.222 GB, free: 10.04 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.0002529/0.3447, allocations: 143.1 kB / 1.222 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.3449, allocations: 23.98 kB / 1.222 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3449, allocations: 0 / 1.222 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.204e-05/0.3449, allocations: 19.92 kB / 1.222 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.3452, allocations: 8 kB / 1.222 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.3455, allocations: 152.8 kB / 1.222 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3458, allocations: 0.6768 MB / 1.223 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.3458, allocations: 11.44 kB / 1.223 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.3458, allocations: 0 / 1.223 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of Templates: time 0.002777/0.3486, allocations: 0.9953 MB / 1.224 GB, free: 7.945 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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