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.001549/0.001549, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001726/0.001726, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.424/2.424, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 64.25 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3024, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002473/0.305, allocations: 1.282 MB / 1.028 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6591/0.9641, allocations: 132 MB / 1.157 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.9642, allocations: 0 / 1.157 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.9642, allocations: 0.5156 kB / 1.157 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.9643, allocations: 6.141 kB / 1.157 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.9647, allocations: 58.83 kB / 1.157 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 7.801e-05/0.9647, allocations: 24.86 kB / 1.157 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.9648, allocations: 2.594 kB / 1.157 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 4.061e-05/0.9648, allocations: 12.56 kB / 1.157 GB, free: 7 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.9649, allocations: 14.28 kB / 1.157 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.9649, allocations: 1.312 kB / 1.157 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 6.196e-05/0.965, allocations: 8.625 kB / 1.157 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.965, allocations: 9.125 kB / 1.157 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.965, allocations: 3.594 kB / 1.157 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 9.625e-05/0.9651, allocations: 33.66 kB / 1.157 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.9652, allocations: 4 kB / 1.157 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9652, allocations: 0 / 1.157 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.9652, allocations: 0 / 1.157 GB, free: 6.973 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.0003498/0.9655, allocations: 341.3 kB / 1.157 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.9656, allocations: 9.406 kB / 1.157 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.9656, allocations: 6.109 kB / 1.157 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.9657, allocations: 166.4 kB / 1.158 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.055e-05/0.9658, allocations: 31.17 kB / 1.158 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.9658, allocations: 1.844 kB / 1.158 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.9659, allocations: 40.58 kB / 1.158 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.9659, allocations: 3.938 kB / 1.158 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.966, allocations: 0 / 1.158 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.966, allocations: 5.344 kB / 1.158 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.966, allocations: 10 kB / 1.158 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.9662, allocations: 157.7 kB / 1.158 GB, free: 6.141 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.472e-05/0.9663, allocations: 33.25 kB / 1.158 GB, free: 6.109 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.811e-05/0.9663, allocations: 16.62 kB / 1.158 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.9665, allocations: 91.55 kB / 1.158 GB, free: 6 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.9665, allocations: 34.19 kB / 1.158 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.9665, allocations: 0 / 1.158 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3): time 0.0002104/0.9668, allocations: 58.34 kB / 1.158 GB, free: 5.922 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.9668, allocations: 55.34 kB / 1.158 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/0.9669, allocations: 104.1 kB / 1.158 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.9669, allocations: 27.11 kB / 1.158 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.9669, allocations: 84.14 kB / 1.158 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.9669, allocations: 9.062 kB / 1.158 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.967, allocations: 17.56 kB / 1.158 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.9671, allocations: 312.6 kB / 1.159 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.9671, allocations: 7.391 kB / 1.159 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.251e-05/0.9672, allocations: 6.781 kB / 1.159 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.419e-05/0.9673, allocations: 21.14 kB / 1.159 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9673, allocations: 4 kB / 1.159 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001185/0.9674, allocations: 47.92 kB / 1.159 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.9674, allocations: 12.92 kB / 1.159 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.9674, allocations: 3.938 kB / 1.159 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.9674, allocations: 48 / 1.159 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/0.9675, allocations: 10.02 kB / 1.159 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.9675, allocations: 0 / 1.159 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.9676, allocations: 11.84 kB / 1.159 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.9676, allocations: 1.531 kB / 1.159 GB, free: 5.223 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 5.908e-05/0.9676, allocations: 115.2 kB / 1.159 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.9677, allocations: 5.562 kB / 1.159 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.9678, allocations: 56.58 kB / 1.159 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.9678, allocations: 0.9688 kB / 1.159 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9678, allocations: 2.344 kB / 1.159 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.9678, allocations: 3.938 kB / 1.159 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.961e-05/0.9679, allocations: 148.8 kB / 1.159 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9679, allocations: 0 / 1.159 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.968, allocations: 14.25 kB / 1.159 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.968, allocations: 5.562 kB / 1.159 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.968, allocations: 4.875 kB / 1.159 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.968, allocations: 0 / 1.159 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.968, allocations: 1.156 kB / 1.159 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.9682, allocations: 70.67 kB / 1.159 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.9682, allocations: 80.94 kB / 1.159 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.9682, allocations: 5.156 kB / 1.159 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.745e-05/0.9683, allocations: 7.719 kB / 1.159 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.9683, allocations: 8.75 kB / 1.159 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.9683, allocations: 3.938 kB / 1.159 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 2.926e-05/0.9683, allocations: 77.78 kB / 1.159 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9683, allocations: 0 / 1.159 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0001847/0.9685, allocations: 9.344 kB / 1.159 GB, free: 4.59 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.0001375/0.9687, allocations: 115.8 kB / 1.159 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.9688, allocations: 24.89 kB / 1.159 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.9688, allocations: 0 / 1.159 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.369e-05/0.9689, allocations: 9.656 kB / 1.159 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.9691, allocations: 10.05 kB / 1.159 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.9694, allocations: 129.5 kB / 1.16 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.9697, allocations: 0.6756 MB / 1.16 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.9697, allocations: 5.469 kB / 1.16 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.9697, allocations: 10.25 kB / 1.16 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.9697, allocations: 0 / 1.16 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of Templates: time 0.002375/0.9721, allocations: 0.5242 MB / 1.161 GB, free: 3.582 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 gbode -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