Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001837/0.001837, allocations: 84.98 kB / 19.76 MB, free: 2.023 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.002199/0.002199, allocations: 156.3 kB / 23.01 MB, free: 4.961 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.454/1.454, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.797/2.797, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_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_12_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.002339/0.002339, allocations: 63.91 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.857/0.8594, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002029/0.8614, allocations: 1.294 MB / 1.155 GB, free: 32.46 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.8624, allocations: 0.7606 MB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.8624, allocations: 0 / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.8625, allocations: 0 / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.852e-05/0.8625, allocations: 18.25 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.8629, allocations: 130.2 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.273e-05/0.863, allocations: 26.38 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.863, allocations: 2.844 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/0.8631, allocations: 13.86 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.8631, allocations: 12.91 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.8631, allocations: 3.938 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.8634, allocations: 151.9 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.8634, allocations: 13.95 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.8634, allocations: 11.12 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.8636, allocations: 119.5 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.8636, allocations: 0 / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8636, allocations: 0 / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.8637, allocations: 0 / 1.156 GB, free: 31.79 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.0003493/0.864, allocations: 295 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.864, allocations: 7.938 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.8641, allocations: 3.656 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.023e-05/0.8641, allocations: 108.3 kB / 1.157 GB, free: 31.37 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.716e-05/0.8642, allocations: 59 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.8642, allocations: 4.375 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.8643, allocations: 74.08 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.8644, allocations: 3.938 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.8644, allocations: 0 / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8644, allocations: 0 / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.15e-05/0.8645, allocations: 18.66 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.8646, allocations: 107 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.8648, allocations: 46.38 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.8648, allocations: 17.97 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.8651, allocations: 28.08 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.399e-05/0.8651, allocations: 30.56 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.8651, allocations: 3.938 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002268/0.8653, allocations: 71.45 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.8653, allocations: 54.31 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.117e-05/0.8654, allocations: 100.2 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.8654, allocations: 29.7 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.065e-05/0.8654, allocations: 84.08 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.8654, allocations: 14.81 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.8654, allocations: 16 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.66e-05/0.8655, allocations: 317.7 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.676e-05/0.8655, allocations: 8.906 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.745e-05/0.8655, allocations: 6.312 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.479e-05/0.8656, allocations: 32.17 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.8656, allocations: 0 / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001179/0.8657, allocations: 67.89 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.8658, allocations: 5.281 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.8658, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.8658, allocations: 3.938 kB / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.231e-05/0.8658, allocations: 8.594 kB / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.8658, allocations: 0 / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.8659, allocations: 6.562 kB / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.8659, allocations: 2.688 kB / 1.158 GB, free: 30.26 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 3.828e-05/0.8659, allocations: 106.6 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.8659, allocations: 6.641 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.8661, allocations: 83.12 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.8661, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.8661, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.8661, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.055e-05/0.8661, allocations: 106.7 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.8661, allocations: 0 / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.8662, allocations: 6.031 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8662, allocations: 0 / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.8662, allocations: 2.875 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8662, allocations: 7.938 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8662, allocations: 4 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.8663, allocations: 79.58 kB / 1.158 GB, free: 29.87 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.8663, allocations: 6.406 kB / 1.158 GB, free: 29.87 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.8664, allocations: 0 / 1.158 GB, free: 29.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.894e-05/0.8664, allocations: 7.031 kB / 1.158 GB, free: 29.86 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.8664, allocations: 14.12 kB / 1.158 GB, free: 29.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.8664, allocations: 0 / 1.158 GB, free: 29.86 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.806e-05/0.8665, allocations: 81.25 kB / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8665, allocations: 3.938 kB / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002259/0.8667, allocations: 36.66 kB / 1.158 GB, free: 29.77 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.0001694/0.8669, allocations: 146.9 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.867, allocations: 26.83 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.867, allocations: 0 / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.972e-05/0.867, allocations: 16.3 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.8673, allocations: 6.875 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.8675, allocations: 137.3 kB / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.272e-05/0.8675, allocations: 57.2 kB / 1.159 GB, free: 29.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.8676, allocations: 10.03 kB / 1.159 GB, free: 29.45 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.8676, allocations: 11.16 kB / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/0.8676, allocations: 0 / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of Templates: time 0.003763/0.8714, allocations: 1.119 MB / 1.16 GB, free: 29.29 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.640160238952376]