Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_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_latest_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.001182/0.001182, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.00933/0.00933, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.488/1.488, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.64/2.64, allocations: 443.3 MB / 0.7175 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003909, allocations: 15.75 kB / 0.8796 GB, free: 41.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3433, allocations: 155.2 MB / 1.031 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001407/0.3448, allocations: 1.002 MB / 1.032 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1578/0.5026, allocations: 128.5 MB / 1.158 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.811e-05/0.5027, allocations: 0 / 1.158 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.5028, allocations: 3.938 kB / 1.158 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.732e-05/0.5028, allocations: 7.922 kB / 1.158 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.5033, allocations: 47.8 kB / 1.158 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.5035, allocations: 19.88 kB / 1.158 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.541e-05/0.5035, allocations: 0 / 1.158 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.992e-05/0.5036, allocations: 11.98 kB / 1.158 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.108e-05/0.5037, allocations: 11.92 kB / 1.158 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.5038, allocations: 4 kB / 1.158 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.5039, allocations: 15.98 kB / 1.158 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.5039, allocations: 4 kB / 1.158 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.504, allocations: 33.64 kB / 1.158 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.5042, allocations: 28.2 kB / 1.158 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.5042, allocations: 3.984 kB / 1.158 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5042, allocations: 0 / 1.158 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5042, allocations: 0 / 1.158 GB, free: 2.129 MB / 0.9044 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.0006061/0.5048, allocations: 327.5 kB / 1.158 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.5049, allocations: 12.03 kB / 1.158 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.5049, allocations: 8.938 kB / 1.158 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.5051, allocations: 168.3 kB / 1.158 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.5052, allocations: 30.25 kB / 1.158 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.5053, allocations: 4.375 kB / 1.158 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.5055, allocations: 42.25 kB / 1.158 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.5055, allocations: 7.875 kB / 1.158 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.5055, allocations: 0 / 1.158 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.5055, allocations: 0 / 1.158 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.5057, allocations: 11.98 kB / 1.158 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.5059, allocations: 161.6 kB / 1.158 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.5061, allocations: 34.55 kB / 1.159 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.5062, allocations: 16.86 kB / 1.159 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.5065, allocations: 89.19 kB / 1.159 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.5065, allocations: 34.56 kB / 1.159 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.5065, allocations: 0 / 1.159 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.000342/0.5069, allocations: 65.52 kB / 1.159 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.5069, allocations: 51.41 kB / 1.159 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.5072, allocations: 101.8 kB / 1.159 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.5072, allocations: 25.7 kB / 1.159 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.5072, allocations: 88.11 kB / 1.159 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.5073, allocations: 3.906 kB / 1.159 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.5073, allocations: 17.72 kB / 1.159 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5075, allocations: 314.8 kB / 1.159 GB, free: 312 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.5076, allocations: 7.984 kB / 1.159 GB, free: 304 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.573e-05/0.5076, allocations: 4 kB / 1.159 GB, free: 300 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.5077, allocations: 24.84 kB / 1.159 GB, free: 272 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5078, allocations: 0 / 1.159 GB, free: 272 kB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001639/0.5079, allocations: 45.69 kB / 1.159 GB, free: 220 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.508, allocations: 9.656 kB / 1.159 GB, free: 212 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.508, allocations: 4 kB / 1.159 GB, free: 208 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.508, allocations: 8.453 kB / 1.159 GB, free: 200 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.5081, allocations: 7.984 kB / 1.159 GB, free: 192 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5081, allocations: 0 / 1.159 GB, free: 192 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.5082, allocations: 0 / 1.159 GB, free: 192 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.5082, allocations: 4 kB / 1.159 GB, free: 188 kB / 0.9044 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 0.0001245/0.5083, allocations: 115.3 kB / 1.16 GB, free: 64 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.5084, allocations: 7.844 kB / 1.16 GB, free: 56 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.5086, allocations: 65.16 kB / 1.16 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5086, allocations: 0 / 1.16 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5086, allocations: 0 / 1.16 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.5086, allocations: 0 / 1.16 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.5088, allocations: 157.6 kB / 1.16 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5089, allocations: 0 / 1.16 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.5089, allocations: 7.938 kB / 1.16 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.5089, allocations: 7.938 kB / 1.16 GB, free: 15.76 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.509, allocations: 4 kB / 1.16 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.509, allocations: 3.984 kB / 1.16 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.509, allocations: 4 kB / 1.16 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.5092, allocations: 73.12 kB / 1.16 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.5094, allocations: 85.03 kB / 1.16 GB, free: 15.55 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.5094, allocations: 3.938 kB / 1.16 GB, free: 15.55 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-05/0.5095, allocations: 7.938 kB / 1.16 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.5095, allocations: 0 / 1.16 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.5096, allocations: 0 / 1.16 GB, free: 15.54 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.368e-05/0.5096, allocations: 91.27 kB / 1.16 GB, free: 15.45 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5096, allocations: 0 / 1.16 GB, free: 15.45 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003746/0.51, allocations: 8 kB / 1.16 GB, free: 15.45 MB / 0.92 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.0002808/0.5103, allocations: 111.2 kB / 1.16 GB, free: 15.33 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.5105, allocations: 19.98 kB / 1.16 GB, free: 15.31 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5105, allocations: 0 / 1.16 GB, free: 15.31 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.834e-05/0.5106, allocations: 8 kB / 1.16 GB, free: 15.3 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.511, allocations: 11.98 kB / 1.16 GB, free: 15.29 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.5115, allocations: 148.4 kB / 1.16 GB, free: 15.11 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.5119, allocations: 0.677 MB / 1.161 GB, free: 14.41 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.43e-05/0.512, allocations: 7.984 kB / 1.161 GB, free: 14.4 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.5121, allocations: 15.38 kB / 1.161 GB, free: 14.39 MB / 0.92 GB Notification: Performance of SimCode: time 4.31e-07/0.5121, allocations: 0 / 1.161 GB, free: 14.39 MB / 0.92 GB Notification: Performance of Templates: time 0.003861/0.516, allocations: 488.1 kB / 1.161 GB, free: 13.92 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches