Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 105.6 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001063, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.3 MB / 0.6653 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 64.27 kB / 0.8132 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.278, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003028/0.281, allocations: 1.492 MB / 0.9517 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.2824, allocations: 0.7991 MB / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.2824, allocations: 0 / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.2824, allocations: 3.938 kB / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.2825, allocations: 15.91 kB / 0.9525 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.283, allocations: 131.4 kB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.039e-05/0.2831, allocations: 51.8 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2832, allocations: 11.98 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.642e-05/0.2833, allocations: 27.92 kB / 0.9527 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.2833, allocations: 27.91 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.2834, allocations: 4 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.2837, allocations: 167.7 kB / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.2837, allocations: 15.92 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.2838, allocations: 19.92 kB / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.284, allocations: 143.9 kB / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2841, allocations: 0 / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2841, allocations: 0 / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2841, allocations: 0 / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005731/0.2847, allocations: 403.2 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.2847, allocations: 8.031 kB / 0.9535 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.2848, allocations: 8.844 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.2849, allocations: 180.2 kB / 0.9537 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.2849, allocations: 8.312 kB / 0.9537 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.2849, allocations: 384 / 0.9537 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.2852, allocations: 70.22 kB / 0.9537 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2852, allocations: 8.172 kB / 0.9537 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.2852, allocations: 11.92 kB / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2853, allocations: 0 / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.2856, allocations: 67.92 kB / 0.9538 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.286, allocations: 288.6 kB / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.2862, allocations: 58.53 kB / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.2863, allocations: 32.92 kB / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.2865, allocations: 89.09 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2866, allocations: 42.55 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2866, allocations: 0 / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005763/0.2872, allocations: 129.4 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.2872, allocations: 51.41 kB / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.2873, allocations: 125.8 kB / 0.9546 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2874, allocations: 25.7 kB / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.2874, allocations: 84.14 kB / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.2874, allocations: 11.91 kB / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.2875, allocations: 9.719 kB / 0.9547 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2876, allocations: 326.8 kB / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.2878, allocations: 27.97 kB / 0.9551 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.2879, allocations: 39.95 kB / 0.9551 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.2882, allocations: 64.78 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2882, allocations: 0 / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000336/0.2885, allocations: 109.5 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2885, allocations: 4 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2886, allocations: 0 / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2886, allocations: 0 / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.2887, allocations: 15.98 kB / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2887, allocations: 0 / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.467e-05/0.2888, allocations: 19.97 kB / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.2888, allocations: 4 kB / 0.9553 GB, free: 3.445 MB / 0.7325 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 (3): * Single equations (assignments): 3 * 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 9.029e-05/0.2889, allocations: 121.7 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.289, allocations: 3.906 kB / 0.9554 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/0.2893, allocations: 109.5 kB / 0.9555 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.2894, allocations: 0 / 0.9555 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2894, allocations: 0 / 0.9555 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2894, allocations: 4 kB / 0.9555 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.2896, allocations: 181.6 kB / 0.9557 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2896, allocations: 4.312 kB / 0.9557 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.2897, allocations: 11.98 kB / 0.9557 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2897, allocations: 4 kB / 0.9557 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.2897, allocations: 0 / 0.9557 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2897, allocations: 0 / 0.9557 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2897, allocations: 0 / 0.9557 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.2901, allocations: 203.4 kB / 0.9559 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.2902, allocations: 88.95 kB / 0.956 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.2902, allocations: 3.938 kB / 0.956 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2903, allocations: 11.98 kB / 0.956 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.2903, allocations: 3.984 kB / 0.956 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.2903, allocations: 0 / 0.956 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.728e-05/0.2904, allocations: 103.3 kB / 0.9561 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2904, allocations: 0 / 0.9561 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002709/0.2907, allocations: 24 kB / 0.9562 GB, free: 2.477 MB / 0.7325 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 (3): * Single equations (assignments): 3 * 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.000234/0.2909, allocations: 131.2 kB / 0.9563 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.2913, allocations: 71.92 kB / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2913, allocations: 0 / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.2915, allocations: 39.91 kB / 0.9564 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.2918, allocations: 18.56 kB / 0.9564 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.2922, allocations: 180.9 kB / 0.9566 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.2925, allocations: 0.6922 MB / 0.9573 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.2925, allocations: 7.438 kB / 0.9573 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.2925, allocations: 0 / 0.9573 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of Templates: time 0.002827/0.2953, allocations: 1.22 MB / 0.9584 GB, free: 68 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches