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.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001331/0.001331, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 61.91 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3867, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002474/0.3892, allocations: 1.337 MB / 1.053 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3907, allocations: 0.853 MB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.832e-05/0.3907, allocations: 3.938 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.44e-05/0.3907, allocations: 3.938 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.726e-05/0.3908, allocations: 4 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.3913, allocations: 111.5 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.047e-05/0.3914, allocations: 27.92 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.3914, allocations: 0 / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.3915, allocations: 19.92 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.3915, allocations: 7.938 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.3916, allocations: 0 / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.3919, allocations: 171.7 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.3919, allocations: 11.98 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.392, allocations: 11.92 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.3922, allocations: 124 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3922, allocations: 0 / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3922, allocations: 4 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3923, allocations: 0 / 1.055 GB, free: 6.121 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.0005249/0.3928, allocations: 363.4 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3928, allocations: 8.031 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.3929, allocations: 4.938 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.393, allocations: 164.3 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.576e-05/0.3931, allocations: 34.27 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.3931, allocations: 384 / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.3933, allocations: 50.23 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3933, allocations: 3.938 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3933, allocations: 0 / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3933, allocations: 0 / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.815e-05/0.3934, allocations: 23.92 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.3936, allocations: 153.7 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.3938, allocations: 46.56 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.3939, allocations: 16.86 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003277/0.3942, allocations: 186.2 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.3943, allocations: 34.55 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3943, allocations: 0 / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000288/0.3946, allocations: 69.56 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.3947, allocations: 59.39 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.876e-05/0.3947, allocations: 94.05 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.3948, allocations: 25.7 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.3948, allocations: 88.12 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.3948, allocations: 11.81 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.3949, allocations: 21.7 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.395, allocations: 310.8 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.3951, allocations: 8 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.551e-05/0.3951, allocations: 16.17 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.3952, allocations: 32.86 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3952, allocations: 0 / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001339/0.3954, allocations: 57.69 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3954, allocations: 7.938 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3954, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3955, allocations: 3.938 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.93e-05/0.3955, allocations: 11.98 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3955, allocations: 4 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.3956, allocations: 3.938 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3956, allocations: 0 / 1.057 GB, free: 3.977 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 7.926e-05/0.3957, allocations: 115.2 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.3957, allocations: 7.844 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.3959, allocations: 73.09 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3959, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3959, allocations: 4 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3959, allocations: 0 / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.396, allocations: 157.7 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3961, allocations: 4 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.3961, allocations: 4 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3961, allocations: 7.938 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.3961, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3961, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3961, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.3963, allocations: 92.98 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.3964, allocations: 85.09 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.3964, allocations: 7.938 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.002e-05/0.3965, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.3965, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3965, allocations: 7.984 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.3966, allocations: 75.28 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3966, allocations: 4 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002436/0.3968, allocations: 35.94 kB / 1.057 GB, free: 3.207 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.0002506/0.3971, allocations: 141.7 kB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.3973, allocations: 23.98 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.3973, allocations: 0 / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.485e-05/0.3973, allocations: 20.3 kB / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.3976, allocations: 4.859 kB / 1.057 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.3979, allocations: 136.8 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.3982, allocations: 0.677 MB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.903e-05/0.3982, allocations: 15.94 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.3982, allocations: 7.438 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3982, allocations: 4 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of Templates: time 0.003389/0.4016, allocations: 1.027 MB / 1.059 GB, free: 1.098 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