Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.002143/0.002143, allocations: 106 kB / 15.99 MB, free: 5.891 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.002077/0.002077, allocations: 191 kB / 16.91 MB, free: 5.746 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.488/1.488, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.888/2.888, allocations: 469.8 MB / 0.7427 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 65.91 kB / 0.9087 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3168, allocations: 159.2 MB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002959/0.3198, allocations: 1.554 MB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3213, allocations: 0.8022 MB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.3213, allocations: 0 / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.3214, allocations: 0 / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.3214, allocations: 19.86 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.3219, allocations: 111.6 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.057e-05/0.322, allocations: 47.86 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3221, allocations: 15.98 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.3222, allocations: 27.91 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.3222, allocations: 23.92 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.3223, allocations: 7.938 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.3226, allocations: 175.7 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.3226, allocations: 11.97 kB / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.3227, allocations: 23.88 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.3229, allocations: 104 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3229, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.597e-06/0.3229, allocations: 4 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3229, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 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.0006466/0.3236, allocations: 399.2 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3236, allocations: 8.031 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.3237, allocations: 8.844 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3238, allocations: 176.2 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3239, allocations: 8.312 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.3239, allocations: 4.375 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.3242, allocations: 78.19 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3242, allocations: 4.188 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3242, allocations: 3.938 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3242, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.3246, allocations: 75.86 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.325, allocations: 280.7 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.3253, allocations: 62.53 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.3254, allocations: 32.92 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/0.3256, allocations: 93.09 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3257, allocations: 38.5 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3257, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005718/0.3263, allocations: 125.6 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.3263, allocations: 51.41 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3264, allocations: 125.8 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.3265, allocations: 29.69 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.3265, allocations: 92.14 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.3266, allocations: 7.812 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.3266, allocations: 13.72 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3268, allocations: 322.8 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.3269, allocations: 27.97 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.3271, allocations: 40.14 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.3273, allocations: 72.81 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3274, allocations: 0 / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003284/0.3277, allocations: 101.6 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3277, allocations: 4 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3277, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3277, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3279, allocations: 15.98 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.3279, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.328, allocations: 11.98 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.328, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 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 0.0001005/0.3281, allocations: 133.6 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.3281, allocations: 3.906 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003922/0.3285, allocations: 105.5 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3285, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3285, allocations: 4 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3285, allocations: 0 / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.3288, allocations: 177.6 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3288, allocations: 3.938 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.406e-05/0.3289, allocations: 15.98 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3289, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3289, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.3289, allocations: 4 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3289, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.3293, allocations: 211.2 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.3294, allocations: 81.05 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.3294, allocations: 0 / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3295, allocations: 11.98 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.3296, allocations: 3.984 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.3296, allocations: 4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.898e-05/0.3296, allocations: 99.27 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3297, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002759/0.3299, allocations: 28 kB / 1.07 GB, free: 8.195 MB / 0.8262 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.0002265/0.3302, allocations: 127.2 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003614/0.3305, allocations: 79.84 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3305, allocations: 0 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.3307, allocations: 35.97 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.331, allocations: 11.92 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.3314, allocations: 192.7 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.3318, allocations: 0.6846 MB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.3319, allocations: 11.44 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3319, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of Templates: time 0.003199/0.3351, allocations: 1.225 MB / 1.072 GB, free: 5.777 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches