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.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.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.001127/0.001127, 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.001104/0.001104, allocations: 198.1 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.801/2.801, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 72.52 kB / 0.8984 GB, free: 37.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3165, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002572/0.3192, allocations: 1.34 MB / 1.053 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1973/0.5164, allocations: 129.9 MB / 1.18 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.5165, allocations: 0 / 1.18 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.5166, allocations: 0 / 1.18 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.906e-05/0.5167, allocations: 7.938 kB / 1.18 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.517, allocations: 47.8 kB / 1.18 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.893e-05/0.5171, allocations: 19.92 kB / 1.18 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.5172, allocations: 4 kB / 1.18 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.5172, allocations: 15.94 kB / 1.18 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.5173, allocations: 7.984 kB / 1.18 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.5173, allocations: 3.938 kB / 1.18 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.531e-05/0.5174, allocations: 15.98 kB / 1.18 GB, free: 5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.5174, allocations: 0 / 1.18 GB, free: 5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.5175, allocations: 15.92 kB / 1.18 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.5176, allocations: 24.14 kB / 1.18 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5176, allocations: 0 / 1.18 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5176, allocations: 0 / 1.18 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.5176, allocations: 0 / 1.18 GB, free: 4.961 MB / 0.9356 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.0005793/0.5182, allocations: 335.5 kB / 1.181 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.521e-05/0.5183, allocations: 12.03 kB / 1.181 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.5183, allocations: 0.9375 kB / 1.181 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.5185, allocations: 168.2 kB / 1.181 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.536e-05/0.5186, allocations: 34.25 kB / 1.181 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.5186, allocations: 4.375 kB / 1.181 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.5188, allocations: 38.25 kB / 1.181 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5188, allocations: 7.875 kB / 1.181 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.5188, allocations: 0 / 1.181 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5188, allocations: 4 kB / 1.181 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.131e-05/0.5189, allocations: 15.98 kB / 1.181 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.5191, allocations: 149.7 kB / 1.181 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.5193, allocations: 30.61 kB / 1.181 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.5193, allocations: 16.94 kB / 1.181 GB, free: 4 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.5195, allocations: 93.09 kB / 1.181 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.043e-05/0.5196, allocations: 34.55 kB / 1.181 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 3.326e-06/0.5196, allocations: 0 / 1.181 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000245/0.5198, allocations: 65.56 kB / 1.181 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.5199, allocations: 51.41 kB / 1.181 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.819e-05/0.52, allocations: 97.84 kB / 1.182 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.52, allocations: 25.7 kB / 1.182 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.52, allocations: 84.14 kB / 1.182 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.5201, allocations: 15.83 kB / 1.182 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.5201, allocations: 13.72 kB / 1.182 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.5202, allocations: 318.8 kB / 1.182 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.596e-05/0.5203, allocations: 8 kB / 1.182 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.5203, allocations: 4 kB / 1.182 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.011e-05/0.5204, allocations: 28.78 kB / 1.182 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5204, allocations: 4 kB / 1.182 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000123/0.5205, allocations: 49.67 kB / 1.182 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.5206, allocations: 15.88 kB / 1.182 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.5206, allocations: 0 / 1.182 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5206, allocations: 0 / 1.182 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.5207, allocations: 4 kB / 1.182 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5207, allocations: 0 / 1.182 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.5207, allocations: 7.906 kB / 1.182 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.5207, allocations: 0 / 1.182 GB, free: 3.008 MB / 0.9356 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.64e-05/0.5208, allocations: 117.8 kB / 1.182 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.5208, allocations: 7.938 kB / 1.182 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.521, allocations: 53.12 kB / 1.182 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.521, allocations: 0 / 1.182 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.521, allocations: 7.984 kB / 1.182 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.521, allocations: 4 kB / 1.182 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.807e-05/0.5211, allocations: 145.7 kB / 1.182 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5212, allocations: 4 kB / 1.182 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.546e-05/0.5212, allocations: 11.98 kB / 1.182 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.5212, allocations: 3.938 kB / 1.182 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.5212, allocations: 0 / 1.182 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5212, allocations: 0 / 1.182 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.5212, allocations: 0 / 1.182 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.5214, allocations: 81.61 kB / 1.182 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.5214, allocations: 85.14 kB / 1.183 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.5215, allocations: 3.938 kB / 1.183 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.893e-05/0.5215, allocations: 4 kB / 1.183 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.5215, allocations: 3.984 kB / 1.183 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.5215, allocations: 4 kB / 1.183 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.94e-05/0.5216, allocations: 75.28 kB / 1.183 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.5216, allocations: 0 / 1.183 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001885/0.5218, allocations: 19.94 kB / 1.183 GB, free: 2.285 MB / 0.9356 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.000193/0.522, allocations: 107.2 kB / 1.183 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.5221, allocations: 27.98 kB / 1.183 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5221, allocations: 0 / 1.183 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-05/0.5222, allocations: 11.92 kB / 1.183 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.5225, allocations: 7.938 kB / 1.183 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.5228, allocations: 129.4 kB / 1.183 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.523, allocations: 0.6809 MB / 1.184 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.831e-05/0.5231, allocations: 4 kB / 1.184 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.5231, allocations: 7.438 kB / 1.184 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.5231, allocations: 0 / 1.184 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of Templates: time 0.002708/0.5258, allocations: 0.4884 MB / 1.184 GB, free: 0.7617 MB / 0.9356 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