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) 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 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_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.001304/0.001304, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 71.12 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3716, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002888/0.3746, allocations: 1.264 MB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.376, allocations: 0.8354 MB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.376, allocations: 0 / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.3761, allocations: 3.984 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.3761, allocations: 3.938 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.3767, allocations: 135.4 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.681e-05/0.3768, allocations: 23.92 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.3769, allocations: 3.938 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.616e-05/0.3769, allocations: 11.98 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.377, allocations: 11.94 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.377, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.3774, allocations: 171.7 kB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.3774, allocations: 3.984 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.3775, allocations: 19.92 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.3777, allocations: 112.1 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3777, allocations: 0 / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3777, allocations: 3.938 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3778, allocations: 0 / 1.071 GB, free: 7.84 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004756/0.3782, allocations: 363.4 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3783, allocations: 8.031 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.3783, allocations: 8.844 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.3785, allocations: 164.3 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/0.3786, allocations: 34.27 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.3786, allocations: 384 / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.3787, allocations: 46.23 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3787, allocations: 3.938 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3788, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3788, allocations: 4 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.3789, allocations: 15.98 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.3791, allocations: 157.7 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.3793, allocations: 50.5 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.005e-05/0.3794, allocations: 16.86 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/0.3797, allocations: 186.2 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3797, allocations: 38.55 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3797, allocations: 0 / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002589/0.38, allocations: 69.61 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.3801, allocations: 51.41 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.686e-05/0.3801, allocations: 101.8 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3802, allocations: 25.7 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.3802, allocations: 84.08 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.3802, allocations: 11.81 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.3803, allocations: 21.72 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3804, allocations: 314.8 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-05/0.3804, allocations: 8 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.189e-05/0.3805, allocations: 15.92 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.511e-05/0.3806, allocations: 28.84 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3806, allocations: 0 / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001411/0.3808, allocations: 53.69 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3808, allocations: 13.66 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3808, allocations: 0 / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3808, allocations: 0 / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.7e-05/0.3809, allocations: 15.92 kB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3809, allocations: 0 / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.3809, allocations: 7.844 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3809, allocations: 8 kB / 1.073 GB, free: 5.684 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 (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 6.797e-05/0.381, allocations: 106.4 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.381, allocations: 7.938 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.3812, allocations: 65.17 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3812, allocations: 0 / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3812, allocations: 0 / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3812, allocations: 7.984 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.3814, allocations: 153.7 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3814, allocations: 4 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.986e-05/0.3814, allocations: 11.94 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3814, allocations: 3.938 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.3814, allocations: 4 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3815, allocations: 4 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3815, allocations: 0 / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.3816, allocations: 81.67 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.3817, allocations: 81.02 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.3817, allocations: 11.92 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.589e-05/0.3818, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.3818, allocations: 4.047 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.3818, allocations: 7.984 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.792e-05/0.3819, allocations: 91.2 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3819, allocations: 0 / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002332/0.3821, allocations: 27.94 kB / 1.073 GB, free: 4.918 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 (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.0002367/0.3824, allocations: 151.1 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.3825, allocations: 23.98 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3825, allocations: 4 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.435e-05/0.3826, allocations: 15.98 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.3828, allocations: 8 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.3832, allocations: 123 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.3834, allocations: 0.6768 MB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.533e-05/0.3835, allocations: 15.86 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.3835, allocations: 7.438 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3835, allocations: 0 / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of Templates: time 0.003124/0.3866, allocations: 1.056 MB / 1.075 GB, free: 2.781 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches