Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 99.7 kB / 16.35 MB, free: 5.828 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.001628/0.001628, allocations: 196.8 kB / 17.29 MB, free: 5.484 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.456/1.456, 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.496/2.496, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.78 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2669, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002838/0.2698, allocations: 1.493 MB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6368/0.9066, allocations: 132.1 MB / 1.157 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.9067, allocations: 0 / 1.157 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.9067, allocations: 10.5 kB / 1.157 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 5.83e-05/0.9068, allocations: 16.84 kB / 1.157 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.9072, allocations: 64.91 kB / 1.157 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 9.525e-05/0.9073, allocations: 48.69 kB / 1.157 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 9.606e-05/0.9074, allocations: 18.55 kB / 1.157 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 4.953e-05/0.9074, allocations: 23.27 kB / 1.157 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.9075, allocations: 21.81 kB / 1.157 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.9075, allocations: 7.875 kB / 1.157 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-05/0.9076, allocations: 21.16 kB / 1.157 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.9076, allocations: 11.42 kB / 1.157 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.9077, allocations: 24.53 kB / 1.157 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.9078, allocations: 57.06 kB / 1.157 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.9078, allocations: 1.375 kB / 1.157 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9078, allocations: 0 / 1.157 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.9078, allocations: 3.938 kB / 1.157 GB, free: 6.773 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004886/0.9083, allocations: 379.2 kB / 1.158 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.9084, allocations: 10.66 kB / 1.158 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.9084, allocations: 6.219 kB / 1.158 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.9085, allocations: 164.1 kB / 1.158 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.9085, allocations: 5.625 kB / 1.158 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.9086, allocations: 6.906 kB / 1.158 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.9088, allocations: 77.36 kB / 1.158 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.9088, allocations: 192 / 1.158 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.9088, allocations: 11.94 kB / 1.158 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9088, allocations: 2.562 kB / 1.158 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.9091, allocations: 65.86 kB / 1.158 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.9095, allocations: 285.1 kB / 1.158 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.9097, allocations: 61.17 kB / 1.158 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.9098, allocations: 37.05 kB / 1.159 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.91, allocations: 93.33 kB / 1.159 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.91, allocations: 31.75 kB / 1.159 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.91, allocations: 4 kB / 1.159 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3): time 0.0004918/0.9105, allocations: 136.9 kB / 1.159 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.9106, allocations: 53.61 kB / 1.159 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.617e-05/0.9106, allocations: 116.2 kB / 1.159 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.9107, allocations: 35.14 kB / 1.159 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.9107, allocations: 87.62 kB / 1.159 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.9107, allocations: 5.031 kB / 1.159 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.9108, allocations: 12.66 kB / 1.159 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.9109, allocations: 323.4 kB / 1.159 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.911, allocations: 30.33 kB / 1.159 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.9112, allocations: 36.75 kB / 1.159 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.9114, allocations: 65.97 kB / 1.16 GB, free: 4.941 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9114, allocations: 0 / 1.16 GB, free: 4.941 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002956/0.9117, allocations: 107.2 kB / 1.16 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.9117, allocations: 7.016 kB / 1.16 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9117, allocations: 0.875 kB / 1.16 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.9118, allocations: 1.469 kB / 1.16 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.9119, allocations: 14.61 kB / 1.16 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.9119, allocations: 1.281 kB / 1.16 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.912, allocations: 15.03 kB / 1.16 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.912, allocations: 1.312 kB / 1.16 GB, free: 4.887 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.106e-05/0.9121, allocations: 133.1 kB / 1.16 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.9121, allocations: 6.594 kB / 1.16 GB, free: 4.746 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.9124, allocations: 110.9 kB / 1.16 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.9124, allocations: 0 / 1.16 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9125, allocations: 1.625 kB / 1.16 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.9125, allocations: 1.781 kB / 1.16 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.9126, allocations: 177.9 kB / 1.16 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9126, allocations: 0 / 1.16 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.392e-05/0.9127, allocations: 14.94 kB / 1.16 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.9127, allocations: 0 / 1.16 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.9128, allocations: 1.438 kB / 1.16 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.9128, allocations: 0 / 1.16 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.9128, allocations: 5.297 kB / 1.16 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.9131, allocations: 199.9 kB / 1.16 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.9131, allocations: 82.55 kB / 1.16 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.9132, allocations: 3.516 kB / 1.16 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.9133, allocations: 10.56 kB / 1.16 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.9133, allocations: 8.453 kB / 1.16 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.9133, allocations: 5 kB / 1.16 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.9134, allocations: 95.59 kB / 1.16 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9134, allocations: 0 / 1.16 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002378/0.9136, allocations: 15.97 kB / 1.16 GB, free: 4.148 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.0001364/0.9138, allocations: 105.8 kB / 1.161 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.9141, allocations: 68.23 kB / 1.161 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9141, allocations: 0 / 1.161 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.9143, allocations: 39.84 kB / 1.161 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.9146, allocations: 14.03 kB / 1.161 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.9149, allocations: 158.6 kB / 1.161 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.9151, allocations: 0.6855 MB / 1.162 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.9152, allocations: 2.156 kB / 1.162 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.9152, allocations: 11.25 kB / 1.162 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/0.9152, allocations: 3.938 kB / 1.162 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of Templates: time 0.003387/0.9186, allocations: 1.011 MB / 1.163 GB, free: 3.086 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches