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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00144/0.00144, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001688/0.001688, allocations: 190.4 kB / 16.25 MB, free: 6.648 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.456/1.456, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.753/2.753, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 65.66 kB / 0.8986 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3726, allocations: 157.4 MB / 1.052 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003178/0.3758, allocations: 1.337 MB / 1.054 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.3775, allocations: 0.8334 MB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.938e-05/0.3776, allocations: 0 / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.3776, allocations: 0 / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.546e-05/0.3777, allocations: 3.938 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005996/0.3783, allocations: 123.6 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.162e-05/0.3784, allocations: 31.86 kB / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.3784, allocations: 0 / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.679e-05/0.3785, allocations: 11.94 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.3786, allocations: 11.98 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.3786, allocations: 3.938 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.379, allocations: 171.7 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.379, allocations: 7.938 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.3791, allocations: 15.92 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.3793, allocations: 116.1 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3794, allocations: 0 / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3794, allocations: 0 / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.3794, allocations: 0 / 1.055 GB, free: 6.094 MB / 0.8106 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.0005489/0.3799, allocations: 368.8 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.38, allocations: 8.625 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.38, allocations: 4.938 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3802, allocations: 172.2 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.087e-05/0.3803, allocations: 34.27 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.3803, allocations: 384 / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3805, allocations: 42.25 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3805, allocations: 3.938 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3805, allocations: 0 / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3805, allocations: 4 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.3807, allocations: 15.98 kB / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.3809, allocations: 153.7 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.3812, allocations: 54.64 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/0.3813, allocations: 20.84 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003437/0.3816, allocations: 178.2 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3816, allocations: 30.56 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.3817, allocations: 4 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003112/0.382, allocations: 69.61 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.382, allocations: 55.34 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.926e-05/0.3821, allocations: 106 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3822, allocations: 25.7 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.3822, allocations: 80.14 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.3822, allocations: 11.81 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.3823, allocations: 17.72 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3824, allocations: 318.8 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.164e-05/0.3825, allocations: 8 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.3826, allocations: 11.98 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.3827, allocations: 24.86 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3827, allocations: 3.938 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001801/0.3829, allocations: 57.67 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3829, allocations: 11.88 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3829, allocations: 4 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.383, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.383, allocations: 8 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.3831, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.3831, allocations: 7.922 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.3831, allocations: 7.938 kB / 1.057 GB, free: 3.941 MB / 0.8106 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 9.449e-05/0.3832, allocations: 109.8 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.3832, allocations: 7.844 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.3835, allocations: 69.17 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3835, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.3835, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3835, allocations: 3.938 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.3837, allocations: 161.7 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3837, allocations: 0 / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.987e-05/0.3837, allocations: 7.984 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.3838, allocations: 7.938 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.3838, allocations: 8 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3838, allocations: 0 / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3838, allocations: 4 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.384, allocations: 81.11 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.3841, allocations: 77.11 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.3841, allocations: 7.938 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.3842, allocations: 3.984 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.3842, allocations: 4 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.3843, allocations: 0 / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.756e-05/0.3843, allocations: 87.7 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3843, allocations: 3.938 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003396/0.3847, allocations: 35.92 kB / 1.057 GB, free: 3.172 MB / 0.8106 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.0002943/0.385, allocations: 135.2 kB / 1.057 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.3852, allocations: 28.12 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3852, allocations: 0 / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/0.3853, allocations: 20.03 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.3856, allocations: 11.98 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.386, allocations: 135.1 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.3864, allocations: 0.6768 MB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.379e-05/0.3864, allocations: 15.84 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.3865, allocations: 11.44 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.3865, allocations: 0 / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of Templates: time 0.003991/0.3905, allocations: 1.033 MB / 1.059 GB, free: 1.055 MB / 0.8106 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