Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009356/0.0009357, allocations: 98.64 kB / 16.02 MB, free: 76 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.0009688/0.0009688, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.409/1.409, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.776/2.776, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004791, allocations: 16 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7511/0.7516, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00164/0.7533, allocations: 0.9995 MB / 1.025 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.7549, allocations: 0.8422 MB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.7549, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.7549, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.921e-05/0.755, allocations: 7.922 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.7556, allocations: 107.6 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.212e-05/0.7557, allocations: 23.86 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/0.7558, allocations: 3.938 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.61e-05/0.7558, allocations: 19.92 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.354e-05/0.7559, allocations: 7.984 kB / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.7559, allocations: 0 / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004103/0.7564, allocations: 175.7 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.7564, allocations: 11.92 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.7565, allocations: 33.64 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.7567, allocations: 85.81 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.7567, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7567, allocations: 4 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.7567, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.7794 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.0005049/0.7572, allocations: 353.2 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.7573, allocations: 12.03 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.7573, allocations: 8.922 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.7575, allocations: 164.4 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/0.7576, allocations: 26.27 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.7576, allocations: 4.375 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.7578, allocations: 50.19 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.7578, allocations: 3.938 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.7578, allocations: 0 / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.7578, allocations: 3.984 kB / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.718e-05/0.7579, allocations: 19.98 kB / 1.027 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.7581, allocations: 161.6 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.7584, allocations: 46.56 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.7584, allocations: 20.86 kB / 1.027 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003089/0.7587, allocations: 178.3 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.7588, allocations: 34.5 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.7588, allocations: 3.938 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002718/0.7591, allocations: 73.61 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.7591, allocations: 51.41 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.334e-05/0.7592, allocations: 101.8 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.7592, allocations: 25.7 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.7593, allocations: 80.14 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.7593, allocations: 11.8 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.7593, allocations: 17.72 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.7595, allocations: 314.8 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.7595, allocations: 8 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.125e-05/0.7596, allocations: 15.98 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.693e-05/0.7597, allocations: 25.27 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7597, allocations: 0 / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001441/0.7598, allocations: 61.67 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.7599, allocations: 9.656 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.7599, allocations: 3.984 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.7599, allocations: 3.984 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.7599, allocations: 12 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.76, allocations: 3.984 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.76, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.76, allocations: 4 kB / 1.028 GB, free: 11.4 MB / 0.7794 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.284e-05/0.7601, allocations: 109.8 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.7601, allocations: 11.88 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.7603, allocations: 61.17 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.7603, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7603, allocations: 4 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.7603, allocations: 4 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.7605, allocations: 153.7 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7605, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.7605, allocations: 11.98 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.7605, allocations: 3.938 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.7606, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.7606, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7606, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.7607, allocations: 92.95 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.7608, allocations: 88.98 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.7608, allocations: 7.938 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.963e-05/0.7609, allocations: 7.984 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.7609, allocations: 4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.7609, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.761, allocations: 79.28 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.761, allocations: 0 / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002707/0.7613, allocations: 39.98 kB / 1.028 GB, free: 10.63 MB / 0.7794 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.00027/0.7615, allocations: 139.1 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.7617, allocations: 27.92 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7617, allocations: 0 / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.802e-05/0.7618, allocations: 16 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.762, allocations: 7.984 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.7624, allocations: 164.3 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.7626, allocations: 0.677 MB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.7627, allocations: 11.44 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of SimCode: time 8.02e-07/0.7627, allocations: 0 / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of Templates: time 0.002821/0.7655, allocations: 0.9839 MB / 1.03 GB, free: 8.543 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches