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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001087/0.001087, allocations: 100.1 kB / 15.88 MB, free: 12 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.001228/0.001229, allocations: 197.3 kB / 16.79 MB, free: 6.828 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.46/1.46, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 70.02 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3753, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002831/0.3782, allocations: 1.333 MB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3797, allocations: 0.8568 MB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.3797, allocations: 0 / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.3798, allocations: 0 / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.3798, allocations: 3.984 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.3804, allocations: 111.5 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.191e-05/0.3805, allocations: 23.94 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.152e-05/0.3805, allocations: 3.984 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.123e-05/0.3806, allocations: 19.88 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.3807, allocations: 15.91 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.3807, allocations: 0 / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.3811, allocations: 171.7 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.3811, allocations: 4 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.3811, allocations: 15.91 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.3814, allocations: 76.14 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3814, allocations: 4 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.31e-07/0.3814, allocations: 4 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3814, allocations: 0 / 1.055 GB, free: 5.641 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.0005199/0.3819, allocations: 371.3 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.382, allocations: 12.03 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.382, allocations: 0.9375 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.3822, allocations: 168.3 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-05/0.3823, allocations: 30.25 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.3823, allocations: 4.375 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.3825, allocations: 46.25 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3825, allocations: 3.938 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.3825, allocations: 4 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3825, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3826, allocations: 23.91 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.3828, allocations: 157.7 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.3831, allocations: 46.55 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.3832, allocations: 20.94 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003224/0.3835, allocations: 178.2 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.3835, allocations: 34.56 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.3835, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002704/0.3838, allocations: 77.55 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.3839, allocations: 51.41 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/0.384, allocations: 97.86 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.384, allocations: 25.7 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.384, allocations: 80.14 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.3841, allocations: 15.8 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.3841, allocations: 13.72 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3842, allocations: 314.8 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.3843, allocations: 15.98 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.87e-05/0.3843, allocations: 4 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.567e-05/0.3844, allocations: 32.84 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3844, allocations: 0 / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001408/0.3846, allocations: 57.62 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.3846, allocations: 11.92 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3846, allocations: 4 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3846, allocations: 0 / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.3847, allocations: 8 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3847, allocations: 0 / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.3848, allocations: 7.938 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.3848, allocations: 0 / 1.057 GB, free: 3.492 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.892e-05/0.3849, allocations: 109.8 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.3849, allocations: 11.83 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.3851, allocations: 73.11 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3851, allocations: 0 / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3851, allocations: 4 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3851, allocations: 8.5 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.3852, allocations: 157.7 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3852, allocations: 0 / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.3853, allocations: 8 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.3853, allocations: 3.938 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.3853, allocations: 0 / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3853, allocations: 7.938 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3853, allocations: 3.984 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.3855, allocations: 85.05 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.3856, allocations: 85.09 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.3856, allocations: 3.938 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.141e-05/0.3857, allocations: 4 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.3857, allocations: 7.984 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3857, allocations: 4 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.3858, allocations: 75.28 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3858, allocations: 4 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002348/0.386, allocations: 31.94 kB / 1.058 GB, free: 2.715 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.000236/0.3863, allocations: 131.2 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.3864, allocations: 27.98 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3864, allocations: 0 / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.3865, allocations: 19.92 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.3868, allocations: 9.719 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.3872, allocations: 166.5 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3874, allocations: 0.6731 MB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.3875, allocations: 11.44 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of SimCode: time 4.2e-07/0.3875, allocations: 0 / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of Templates: time 0.002577/0.3901, allocations: 0.9791 MB / 1.06 GB, free: 0.6367 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/jenkins1/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