Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007705/0.007706, allocations: 98.8 kB / 15.73 MB, free: 6.035 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.001209/0.001208, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.597/2.597, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.17 kB / 0.9508 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3485, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002319/0.3509, allocations: 1.281 MB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.3522, allocations: 0.8203 MB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.3522, allocations: 4 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.3522, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.385e-05/0.3523, allocations: 11.91 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.3528, allocations: 127.4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.633e-05/0.3529, allocations: 23.92 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.353, allocations: 4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.861e-05/0.353, allocations: 15.92 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.217e-05/0.3531, allocations: 11.92 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.3531, allocations: 8 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.3534, allocations: 163.7 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.3535, allocations: 15.97 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.3535, allocations: 7.938 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.3538, allocations: 111.7 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3538, allocations: 4 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.436e-06/0.3538, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.3538, allocations: 3.938 kB / 1.09 GB, free: 14.89 MB / 0.8575 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.000523/0.3543, allocations: 363.1 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3544, allocations: 12.03 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.3544, allocations: 0.9375 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.3546, allocations: 172.3 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-05/0.3546, allocations: 30.27 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.3547, allocations: 4.375 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.3548, allocations: 50.17 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3548, allocations: 3.938 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3549, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3549, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.834e-05/0.355, allocations: 23.98 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.3551, allocations: 153.7 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.3554, allocations: 50.5 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.3554, allocations: 12.86 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.3557, allocations: 186.3 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3557, allocations: 34.55 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.3558, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002592/0.356, allocations: 73.7 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3561, allocations: 55.39 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.167e-05/0.3561, allocations: 93.86 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3562, allocations: 29.64 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/0.3562, allocations: 88.14 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.3562, allocations: 15.84 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.3563, allocations: 17.7 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3564, allocations: 314.8 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.897e-05/0.3564, allocations: 4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-05/0.3565, allocations: 15.98 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.962e-05/0.3566, allocations: 28.78 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3566, allocations: 4 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001276/0.3567, allocations: 53.69 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3568, allocations: 11.94 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.3568, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3568, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.432e-05/0.3569, allocations: 15.92 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3569, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.3569, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.3569, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 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 8.613e-05/0.357, allocations: 117.8 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.357, allocations: 3.938 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.3572, allocations: 65.17 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3572, allocations: 3.984 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.3572, allocations: 4 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3572, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.3573, allocations: 161.6 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3574, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.3574, allocations: 7.938 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3574, allocations: 7.938 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3574, allocations: 4 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3574, allocations: 3.938 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3574, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.3576, allocations: 81.11 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.3577, allocations: 81.09 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.3577, allocations: 7.938 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.818e-05/0.3578, allocations: 8 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.3578, allocations: 480 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.3578, allocations: 4 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.3578, allocations: 83.25 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3579, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002318/0.3581, allocations: 39.81 kB / 1.093 GB, free: 11.96 MB / 0.8575 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.0002398/0.3583, allocations: 149.2 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.3585, allocations: 27.98 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3585, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.445e-05/0.3586, allocations: 15.98 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.3588, allocations: 4 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.3592, allocations: 127.2 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3594, allocations: 0.6768 MB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.3595, allocations: 8 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.3595, allocations: 11.44 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.3595, allocations: 0 / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of Templates: time 0.003747/0.3633, allocations: 1.063 MB / 1.095 GB, free: 9.828 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches