Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.001572/0.001572, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.451/1.451, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.027/3.027, allocations: 489.2 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 71.88 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.095, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002302/1.097, allocations: 1.277 MB / 1.264 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001315/1.099, allocations: 0.8236 MB / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/1.099, allocations: 0 / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/1.099, allocations: 4.703 kB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.425e-05/1.099, allocations: 5.531 kB / 1.265 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000526/1.099, allocations: 130.7 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.337e-05/1.1, allocations: 27.66 kB / 1.265 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/1.1, allocations: 3.438 kB / 1.265 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/1.1, allocations: 11.27 kB / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/1.1, allocations: 11.27 kB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/1.1, allocations: 0.9688 kB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/1.1, allocations: 173.5 kB / 1.265 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/1.1, allocations: 11.33 kB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/1.1, allocations: 9.562 kB / 1.265 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002777/1.1, allocations: 120.2 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.1, allocations: 1.312 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.953e-06/1.1, allocations: 0 / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.152e-06/1.1, allocations: 0 / 1.265 GB, free: 6.375 MB / 0.9981 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.0003963/1.101, allocations: 365.3 kB / 1.265 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/1.101, allocations: 9.25 kB / 1.265 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/1.101, allocations: 7.75 kB / 1.265 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.994e-05/1.101, allocations: 166.9 kB / 1.266 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/1.101, allocations: 33.92 kB / 1.266 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/1.101, allocations: 2.062 kB / 1.266 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/1.101, allocations: 48.06 kB / 1.266 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/1.101, allocations: 4.719 kB / 1.266 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/1.101, allocations: 0 / 1.266 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/1.101, allocations: 4.891 kB / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/1.101, allocations: 26.7 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/1.102, allocations: 155 kB / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/1.102, allocations: 45.86 kB / 1.266 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.775e-05/1.102, allocations: 14.62 kB / 1.266 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002585/1.102, allocations: 180.4 kB / 1.266 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/1.102, allocations: 40.92 kB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/1.102, allocations: 0 / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002724/1.102, allocations: 72.17 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/1.102, allocations: 52.53 kB / 1.266 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.846e-05/1.103, allocations: 95.78 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/1.103, allocations: 25.7 kB / 1.266 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.658e-05/1.103, allocations: 89.78 kB / 1.266 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/1.103, allocations: 7.875 kB / 1.266 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/1.103, allocations: 22.11 kB / 1.267 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/1.103, allocations: 313 kB / 1.267 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/1.103, allocations: 7.156 kB / 1.267 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.186e-05/1.103, allocations: 12.19 kB / 1.267 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.384e-05/1.103, allocations: 29.41 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.103, allocations: 0.9688 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001239/1.103, allocations: 61.14 kB / 1.267 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.103, allocations: 8.719 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.103, allocations: 0.5625 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/1.103, allocations: 0.9375 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.205e-05/1.103, allocations: 7.703 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.103, allocations: 1.641 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/1.103, allocations: 1.797 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/1.103, allocations: 5.594 kB / 1.267 GB, free: 4.488 MB / 0.9981 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 4.847e-05/1.103, allocations: 120.1 kB / 1.267 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/1.103, allocations: 5.406 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/1.103, allocations: 67.89 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/1.103, allocations: 2.312 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.103, allocations: 1.031 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.103, allocations: 0.5156 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.635e-05/1.104, allocations: 162.3 kB / 1.267 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.104, allocations: 0.7969 kB / 1.267 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/1.104, allocations: 11.78 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.104, allocations: 12.56 kB / 1.267 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/1.104, allocations: 1.672 kB / 1.267 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.104, allocations: 0.6562 kB / 1.267 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.104, allocations: 0.7188 kB / 1.267 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/1.104, allocations: 86.81 kB / 1.267 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/1.104, allocations: 81.73 kB / 1.267 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/1.104, allocations: 8.75 kB / 1.267 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.814e-05/1.104, allocations: 7.094 kB / 1.267 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/1.104, allocations: 3.281 kB / 1.267 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/1.104, allocations: 2.219 kB / 1.267 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.866e-05/1.104, allocations: 78.64 kB / 1.268 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.104, allocations: 0 / 1.268 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002422/1.104, allocations: 36.84 kB / 1.268 GB, free: 3.828 MB / 0.9981 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.0002157/1.104, allocations: 135.8 kB / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001619/1.105, allocations: 33.95 kB / 1.268 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.105, allocations: 0 / 1.268 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.667e-05/1.105, allocations: 17.22 kB / 1.268 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/1.105, allocations: 6.797 kB / 1.268 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/1.105, allocations: 148.9 kB / 1.268 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/1.105, allocations: 0.6773 MB / 1.269 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/1.105, allocations: 14.12 kB / 1.269 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.105, allocations: 3.938 kB / 1.269 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of Templates: time 0.003039/1.108, allocations: 0.9953 MB / 1.27 GB, free: 2.75 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.497925166971982]