Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 108.8 kB / 15.99 MB, free: 6.355 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.001847/0.001847, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.387/1.387, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.332/2.332, allocations: 390.3 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 68.17 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2481, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002612/0.2507, allocations: 1.343 MB / 0.9511 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.135/0.3858, allocations: 130.1 MB / 1.078 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.3859, allocations: 0 / 1.078 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.386, allocations: 3.938 kB / 1.078 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.657e-05/0.386, allocations: 3.984 kB / 1.078 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.3865, allocations: 47.8 kB / 1.078 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.594e-05/0.3867, allocations: 27.7 kB / 1.078 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.3867, allocations: 11.98 kB / 1.078 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.89e-05/0.3868, allocations: 15.98 kB / 1.078 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.3869, allocations: 7.938 kB / 1.078 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3869, allocations: 0 / 1.078 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-05/0.387, allocations: 15.98 kB / 1.078 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.387, allocations: 0 / 1.078 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.3871, allocations: 4 kB / 1.078 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.3872, allocations: 28.08 kB / 1.078 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3872, allocations: 4 kB / 1.078 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3872, allocations: 0 / 1.078 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3872, allocations: 0 / 1.078 GB, free: 5.172 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005275/0.3877, allocations: 339.5 kB / 1.079 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.3878, allocations: 8.031 kB / 1.079 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.3879, allocations: 4.938 kB / 1.079 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.388, allocations: 168.3 kB / 1.079 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.3881, allocations: 26.27 kB / 1.079 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.3882, allocations: 4.375 kB / 1.079 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3883, allocations: 38.25 kB / 1.079 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3883, allocations: 11.86 kB / 1.079 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3884, allocations: 4 kB / 1.079 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3884, allocations: 4 kB / 1.079 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.974e-05/0.3885, allocations: 15.92 kB / 1.079 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.3887, allocations: 153.6 kB / 1.079 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3888, allocations: 30.58 kB / 1.079 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.3889, allocations: 16.94 kB / 1.079 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.3891, allocations: 97.08 kB / 1.079 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.3891, allocations: 30.56 kB / 1.079 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.3891, allocations: 0 / 1.079 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002635/0.3894, allocations: 65.55 kB / 1.079 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.3894, allocations: 51.41 kB / 1.079 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.187e-05/0.3895, allocations: 97.86 kB / 1.079 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.3895, allocations: 29.7 kB / 1.079 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.3896, allocations: 80.14 kB / 1.079 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.3896, allocations: 3.906 kB / 1.079 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.3897, allocations: 21.7 kB / 1.079 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3898, allocations: 310.8 kB / 1.08 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-05/0.3898, allocations: 8 kB / 1.08 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.756e-05/0.3899, allocations: 7.984 kB / 1.08 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.56e-05/0.39, allocations: 24.84 kB / 1.08 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.39, allocations: 0 / 1.08 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001536/0.3901, allocations: 53.62 kB / 1.08 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3902, allocations: 11.88 kB / 1.08 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3902, allocations: 0 / 1.08 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3902, allocations: 0 / 1.08 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.3903, allocations: 8 kB / 1.08 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.3903, allocations: 3.984 kB / 1.08 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.3903, allocations: 4 kB / 1.08 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.3904, allocations: 4 kB / 1.08 GB, free: 3.219 MB / 0.8575 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 (3): * Single equations (assignments): 3 * 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.523e-05/0.3904, allocations: 109.8 kB / 1.08 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.3905, allocations: 7.844 kB / 1.08 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.3907, allocations: 61.62 kB / 1.08 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3907, allocations: 4 kB / 1.08 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3907, allocations: 0 / 1.08 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3907, allocations: 0 / 1.08 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.3908, allocations: 149.7 kB / 1.08 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.3908, allocations: 3.984 kB / 1.08 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.3909, allocations: 12 kB / 1.08 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3909, allocations: 3.938 kB / 1.08 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3909, allocations: 4 kB / 1.08 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3909, allocations: 4 kB / 1.08 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3909, allocations: 3.938 kB / 1.08 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.3911, allocations: 69.14 kB / 1.08 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.3911, allocations: 81.11 kB / 1.08 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.3912, allocations: 11.92 kB / 1.08 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.995e-05/0.3912, allocations: 0 / 1.08 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.3912, allocations: 11.94 kB / 1.08 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.3913, allocations: 0 / 1.08 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.439e-05/0.3913, allocations: 79.28 kB / 1.08 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3913, allocations: 0 / 1.08 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001972/0.3915, allocations: 11.94 kB / 1.081 GB, free: 2.496 MB / 0.8575 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 (3): * Single equations (assignments): 3 * 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.0001692/0.3917, allocations: 107.2 kB / 1.081 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.3918, allocations: 27.97 kB / 1.081 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3919, allocations: 0 / 1.081 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.941e-05/0.3919, allocations: 11.94 kB / 1.081 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.3922, allocations: 14.33 kB / 1.081 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.3925, allocations: 157.5 kB / 1.081 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.3928, allocations: 0.6844 MB / 1.081 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.3928, allocations: 7.438 kB / 1.081 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3928, allocations: 0 / 1.081 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of Templates: time 0.001891/0.3947, allocations: 0.5821 MB / 1.082 GB, free: 0.8477 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches