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.001233/0.001233, allocations: 104 kB / 16.35 MB, free: 5.824 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.001366/0.001366, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.314/2.314, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 65.06 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2993, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00223/0.3015, allocations: 1.283 MB / 1.028 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7328/1.034, allocations: 132 MB / 1.157 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/1.034, allocations: 0 / 1.157 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/1.034, allocations: 5.875 kB / 1.157 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/1.035, allocations: 6 kB / 1.157 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/1.035, allocations: 52.8 kB / 1.157 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 8.484e-05/1.035, allocations: 25.81 kB / 1.157 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/1.035, allocations: 1.156 kB / 1.157 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 4.333e-05/1.035, allocations: 14.73 kB / 1.157 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/1.035, allocations: 7.219 kB / 1.157 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/1.035, allocations: 1.156 kB / 1.157 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-05/1.035, allocations: 16.53 kB / 1.157 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/1.035, allocations: 1.125 kB / 1.157 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/1.035, allocations: 18.25 kB / 1.157 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/1.035, allocations: 26.03 kB / 1.157 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.036, allocations: 1.219 kB / 1.157 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.883e-06/1.036, allocations: 0 / 1.157 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.79e-06/1.036, allocations: 0 / 1.157 GB, free: 7.035 MB / 0.8731 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.000412/1.036, allocations: 332.4 kB / 1.157 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1.036, allocations: 9.406 kB / 1.157 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/1.036, allocations: 2.188 kB / 1.157 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/1.036, allocations: 164.3 kB / 1.158 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/1.036, allocations: 37.2 kB / 1.158 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/1.036, allocations: 1.844 kB / 1.158 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/1.036, allocations: 36.95 kB / 1.158 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.036, allocations: 3.938 kB / 1.158 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/1.036, allocations: 1.219 kB / 1.158 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/1.036, allocations: 1.156 kB / 1.158 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.811e-05/1.036, allocations: 20.33 kB / 1.158 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/1.037, allocations: 160 kB / 1.158 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.193e-05/1.037, allocations: 32.94 kB / 1.158 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/1.037, allocations: 13.08 kB / 1.158 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/1.037, allocations: 90.02 kB / 1.158 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/1.037, allocations: 30.56 kB / 1.158 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.037, allocations: 1.5 kB / 1.158 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3): time 0.0002298/1.037, allocations: 73.05 kB / 1.158 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/1.037, allocations: 52.53 kB / 1.158 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/1.037, allocations: 95.66 kB / 1.158 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/1.037, allocations: 25.7 kB / 1.158 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/1.037, allocations: 89.36 kB / 1.158 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/1.038, allocations: 9.031 kB / 1.158 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/1.038, allocations: 14.36 kB / 1.158 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.038, allocations: 320 kB / 1.159 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/1.038, allocations: 7.5 kB / 1.159 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/1.038, allocations: 11.62 kB / 1.159 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.708e-05/1.038, allocations: 21.39 kB / 1.159 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.038, allocations: 0 / 1.159 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001113/1.038, allocations: 55.25 kB / 1.159 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.038, allocations: 8.969 kB / 1.159 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.038, allocations: 0 / 1.159 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.038, allocations: 5.25 kB / 1.159 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/1.038, allocations: 6.828 kB / 1.159 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/1.038, allocations: 0 / 1.159 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.149e-05/1.038, allocations: 6.438 kB / 1.159 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/1.038, allocations: 0 / 1.159 GB, free: 5.289 MB / 0.8731 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 7.54e-05/1.038, allocations: 116.3 kB / 1.159 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-06/1.038, allocations: 5.156 kB / 1.159 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/1.038, allocations: 64.47 kB / 1.159 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.038, allocations: 0 / 1.159 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.038, allocations: 0.9688 kB / 1.159 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.038, allocations: 0 / 1.159 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.548e-05/1.039, allocations: 152.2 kB / 1.159 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.039, allocations: 0.5625 kB / 1.159 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/1.039, allocations: 7.438 kB / 1.159 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/1.039, allocations: 3.938 kB / 1.159 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/1.039, allocations: 1.031 kB / 1.159 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.039, allocations: 3.453 kB / 1.159 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.039, allocations: 1.125 kB / 1.159 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/1.039, allocations: 81.45 kB / 1.159 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/1.039, allocations: 80.89 kB / 1.159 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/1.039, allocations: 3.938 kB / 1.159 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.583e-05/1.039, allocations: 2.531 kB / 1.159 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/1.039, allocations: 3.188 kB / 1.159 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/1.039, allocations: 2.219 kB / 1.159 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.067e-05/1.039, allocations: 92.12 kB / 1.159 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/1.039, allocations: 0 / 1.159 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002034/1.039, allocations: 8.219 kB / 1.159 GB, free: 4.652 MB / 0.8731 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.0001663/1.039, allocations: 109.2 kB / 1.159 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001414/1.039, allocations: 21.52 kB / 1.159 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.04, allocations: 3.938 kB / 1.159 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.738e-05/1.04, allocations: 13.52 kB / 1.159 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/1.04, allocations: 17.89 kB / 1.159 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/1.04, allocations: 123.5 kB / 1.16 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/1.04, allocations: 0.675 MB / 1.16 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.477e-05/1.04, allocations: 8.438 kB / 1.16 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/1.04, allocations: 10.09 kB / 1.16 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/1.04, allocations: 0 / 1.16 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of Templates: time 0.002679/1.043, allocations: 0.5235 MB / 1.161 GB, free: 3.648 MB / 0.8731 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 -s cvode -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/jenkins1/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