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.001628/0.001628, allocations: 114.9 kB / 16.37 MB, free: 6.016 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.001626/0.001626, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.403/2.403, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 68.55 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.316, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003052/0.3191, allocations: 1.512 MB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7641/1.083, allocations: 132.1 MB / 1.157 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/1.083, allocations: 0 / 1.157 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 4.598e-05/1.083, allocations: 3.938 kB / 1.157 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/1.084, allocations: 13.31 kB / 1.157 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/1.084, allocations: 68.06 kB / 1.157 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/1.084, allocations: 49.52 kB / 1.157 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/1.084, allocations: 14.62 kB / 1.157 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 5.704e-05/1.084, allocations: 19.89 kB / 1.157 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/1.084, allocations: 26.53 kB / 1.157 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/1.084, allocations: 7.5 kB / 1.157 GB, free: 6.848 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/1.084, allocations: 25.64 kB / 1.157 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/1.084, allocations: 8.219 kB / 1.157 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/1.085, allocations: 23.47 kB / 1.157 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/1.085, allocations: 52.81 kB / 1.157 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.085, allocations: 1.344 kB / 1.157 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.024e-06/1.085, allocations: 0 / 1.157 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.158e-05/1.085, allocations: 0 / 1.157 GB, free: 6.801 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.000518/1.085, allocations: 377.5 kB / 1.158 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/1.085, allocations: 12.94 kB / 1.158 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/1.085, allocations: 7.125 kB / 1.158 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/1.085, allocations: 165.8 kB / 1.158 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/1.085, allocations: 1.656 kB / 1.158 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/1.085, allocations: 11.06 kB / 1.158 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/1.086, allocations: 75.36 kB / 1.158 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/1.086, allocations: 192 / 1.158 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.086, allocations: 5.281 kB / 1.158 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/1.086, allocations: 10.38 kB / 1.158 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/1.086, allocations: 68.95 kB / 1.158 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/1.086, allocations: 286.9 kB / 1.158 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/1.087, allocations: 59.72 kB / 1.158 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/1.087, allocations: 40.92 kB / 1.159 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/1.087, allocations: 88.17 kB / 1.159 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/1.087, allocations: 33.44 kB / 1.159 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/1.087, allocations: 0 / 1.159 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3): time 0.0005151/1.088, allocations: 136.5 kB / 1.159 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/1.088, allocations: 54.03 kB / 1.159 GB, free: 5.562 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.088, allocations: 123.5 kB / 1.159 GB, free: 5.453 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/1.088, allocations: 25.7 kB / 1.159 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/1.088, allocations: 90.36 kB / 1.159 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/1.088, allocations: 8.531 kB / 1.159 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/1.088, allocations: 16.25 kB / 1.159 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.088, allocations: 318.5 kB / 1.159 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/1.088, allocations: 31.19 kB / 1.159 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/1.088, allocations: 33.58 kB / 1.159 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/1.089, allocations: 71.45 kB / 1.16 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.089, allocations: 0 / 1.16 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003071/1.089, allocations: 106.7 kB / 1.16 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.089, allocations: 5.531 kB / 1.16 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/1.089, allocations: 4 kB / 1.16 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.089, allocations: 3.938 kB / 1.16 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/1.089, allocations: 18.11 kB / 1.16 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.089, allocations: 0 / 1.16 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/1.089, allocations: 16.14 kB / 1.16 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/1.089, allocations: 1.156 kB / 1.16 GB, free: 4.902 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 9.072e-05/1.089, allocations: 116 kB / 1.16 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/1.089, allocations: 14.25 kB / 1.16 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/1.09, allocations: 105.6 kB / 1.16 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.09, allocations: 1.5 kB / 1.16 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.09, allocations: 0 / 1.16 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.09, allocations: 2.062 kB / 1.16 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/1.09, allocations: 172.6 kB / 1.16 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.09, allocations: 0 / 1.16 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/1.09, allocations: 24.89 kB / 1.16 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.09, allocations: 0 / 1.16 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/1.09, allocations: 1.562 kB / 1.16 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.09, allocations: 0 / 1.16 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.09, allocations: 1.188 kB / 1.16 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/1.09, allocations: 204.2 kB / 1.16 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/1.09, allocations: 81.98 kB / 1.16 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/1.09, allocations: 5.219 kB / 1.16 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/1.091, allocations: 14.23 kB / 1.16 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/1.091, allocations: 4.578 kB / 1.16 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/1.091, allocations: 1.188 kB / 1.16 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.373e-05/1.091, allocations: 96.64 kB / 1.16 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/1.091, allocations: 0 / 1.16 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002376/1.091, allocations: 20.41 kB / 1.16 GB, free: 4.172 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.0001862/1.091, allocations: 110.1 kB / 1.161 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003278/1.091, allocations: 67.77 kB / 1.161 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.091, allocations: 0 / 1.161 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/1.092, allocations: 36.98 kB / 1.161 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/1.092, allocations: 23.5 kB / 1.161 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/1.092, allocations: 156.5 kB / 1.161 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/1.093, allocations: 0.6833 MB / 1.162 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.256e-05/1.093, allocations: 6.562 kB / 1.162 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/1.093, allocations: 14.12 kB / 1.162 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.093, allocations: 0 / 1.162 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of Templates: time 0.003424/1.096, allocations: 0.9944 MB / 1.163 GB, free: 3.109 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 cvode -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