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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 110.4 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 191.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.953/2.953, allocations: 489.3 MB / 0.7687 GB, free: 3.801 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.91 kB / 1.103 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9853/0.9873, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002622/0.99, allocations: 1.282 MB / 1.264 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1733/1.163, allocations: 132 MB / 1.393 GB, free: 6.844 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/1.163, allocations: 0 / 1.393 GB, free: 6.844 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/1.163, allocations: 4 kB / 1.393 GB, free: 6.84 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 5.238e-05/1.164, allocations: 5.438 kB / 1.393 GB, free: 6.836 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/1.164, allocations: 58.59 kB / 1.393 GB, free: 6.797 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 7.903e-05/1.164, allocations: 18.95 kB / 1.393 GB, free: 6.789 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/1.164, allocations: 5.453 kB / 1.393 GB, free: 6.785 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.358e-05/1.164, allocations: 16.97 kB / 1.393 GB, free: 6.777 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 5.607e-05/1.164, allocations: 4.031 kB / 1.393 GB, free: 6.777 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/1.164, allocations: 1.156 kB / 1.393 GB, free: 6.777 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 7.827e-05/1.164, allocations: 19.73 kB / 1.393 GB, free: 6.766 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/1.164, allocations: 1.281 kB / 1.393 GB, free: 6.766 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/1.164, allocations: 15.75 kB / 1.393 GB, free: 6.754 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/1.164, allocations: 19.64 kB / 1.393 GB, free: 6.746 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.164, allocations: 1.125 kB / 1.393 GB, free: 6.746 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.582e-06/1.164, allocations: 0 / 1.393 GB, free: 6.746 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.21e-06/1.164, allocations: 0 / 1.393 GB, free: 6.746 MB / 1.092 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.0004637/1.165, allocations: 337.5 kB / 1.393 GB, free: 6.383 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/1.165, allocations: 10.09 kB / 1.393 GB, free: 6.383 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/1.165, allocations: 7.078 kB / 1.393 GB, free: 6.379 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/1.165, allocations: 165.3 kB / 1.393 GB, free: 6.18 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.559e-05/1.165, allocations: 36.2 kB / 1.393 GB, free: 6.141 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/1.165, allocations: 6.094 kB / 1.393 GB, free: 6.137 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/1.165, allocations: 35.62 kB / 1.394 GB, free: 6.102 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.165, allocations: 5.094 kB / 1.394 GB, free: 6.098 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/1.165, allocations: 3.938 kB / 1.394 GB, free: 6.094 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.165, allocations: 0.9688 kB / 1.394 GB, free: 6.094 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.899e-05/1.166, allocations: 15.58 kB / 1.394 GB, free: 6.086 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/1.166, allocations: 156.9 kB / 1.394 GB, free: 5.887 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 9.821e-05/1.166, allocations: 31.8 kB / 1.394 GB, free: 5.855 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.111e-05/1.166, allocations: 10.48 kB / 1.394 GB, free: 5.848 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/1.166, allocations: 89.22 kB / 1.394 GB, free: 5.75 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.166, allocations: 31.97 kB / 1.394 GB, free: 5.711 MB / 1.092 GB Notification: Performance of pre-optimization done (n=3): time 2.965e-06/1.166, allocations: 3.984 kB / 1.394 GB, free: 5.707 MB / 1.092 GB Notification: Performance of matching and sorting (n=3): time 0.0002451/1.166, allocations: 70.86 kB / 1.394 GB, free: 5.648 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/1.166, allocations: 52.53 kB / 1.394 GB, free: 5.586 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/1.167, allocations: 93.86 kB / 1.394 GB, free: 5.488 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/1.167, allocations: 25.7 kB / 1.394 GB, free: 5.457 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/1.167, allocations: 84.12 kB / 1.394 GB, free: 5.371 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/1.167, allocations: 13.5 kB / 1.394 GB, free: 5.359 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/1.167, allocations: 13.34 kB / 1.394 GB, free: 5.344 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.167, allocations: 315.9 kB / 1.394 GB, free: 5.027 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.219e-05/1.167, allocations: 15.77 kB / 1.394 GB, free: 5.016 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/1.167, allocations: 5.25 kB / 1.394 GB, free: 5.016 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.569e-05/1.167, allocations: 26.22 kB / 1.395 GB, free: 4.996 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.167, allocations: 0 / 1.395 GB, free: 4.996 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001271/1.167, allocations: 47.97 kB / 1.395 GB, free: 4.957 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.167, allocations: 10 kB / 1.395 GB, free: 4.953 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.167, allocations: 4 kB / 1.395 GB, free: 4.949 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/1.167, allocations: 0 / 1.395 GB, free: 4.949 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/1.167, allocations: 9.453 kB / 1.395 GB, free: 4.945 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/1.167, allocations: 0 / 1.395 GB, free: 4.945 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/1.167, allocations: 2.25 kB / 1.395 GB, free: 4.945 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/1.167, allocations: 0 / 1.395 GB, free: 4.945 MB / 1.092 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.319e-05/1.167, allocations: 115.3 kB / 1.395 GB, free: 4.828 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/1.167, allocations: 5.062 kB / 1.395 GB, free: 4.824 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/1.168, allocations: 66.34 kB / 1.395 GB, free: 4.766 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.168, allocations: 1.062 kB / 1.395 GB, free: 4.766 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.168, allocations: 0 / 1.395 GB, free: 4.766 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/1.168, allocations: 1.094 kB / 1.395 GB, free: 4.766 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/1.168, allocations: 157 kB / 1.395 GB, free: 4.566 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.168, allocations: 0 / 1.395 GB, free: 4.566 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/1.168, allocations: 5.656 kB / 1.395 GB, free: 4.566 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/1.168, allocations: 11.86 kB / 1.395 GB, free: 4.555 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/1.168, allocations: 1.5 kB / 1.395 GB, free: 4.555 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/1.168, allocations: 4 kB / 1.395 GB, free: 4.551 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.168, allocations: 0 / 1.395 GB, free: 4.551 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/1.168, allocations: 81.12 kB / 1.395 GB, free: 4.469 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/1.168, allocations: 82.28 kB / 1.395 GB, free: 4.371 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/1.168, allocations: 5.156 kB / 1.395 GB, free: 4.367 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.851e-05/1.168, allocations: 1.062 kB / 1.395 GB, free: 4.367 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/1.168, allocations: 2.688 kB / 1.395 GB, free: 4.367 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/1.168, allocations: 0 / 1.395 GB, free: 4.367 MB / 1.092 GB Notification: Performance of sorting global known variables: time 5.604e-05/1.168, allocations: 89.48 kB / 1.395 GB, free: 4.281 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.31e-07/1.168, allocations: 1.469 kB / 1.395 GB, free: 4.281 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0001912/1.169, allocations: 12.16 kB / 1.395 GB, free: 4.277 MB / 1.092 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.0001585/1.169, allocations: 109.9 kB / 1.395 GB, free: 4.18 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0001441/1.169, allocations: 25.77 kB / 1.395 GB, free: 4.168 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.169, allocations: 4 kB / 1.395 GB, free: 4.164 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/1.169, allocations: 11.47 kB / 1.395 GB, free: 4.16 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/1.169, allocations: 11.23 kB / 1.395 GB, free: 4.152 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/1.169, allocations: 148.6 kB / 1.395 GB, free: 4.004 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/1.17, allocations: 0.6777 MB / 1.396 GB, free: 3.305 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/1.17, allocations: 13.03 kB / 1.396 GB, free: 3.293 MB / 1.092 GB Notification: Performance of SimCode: time 2.3e-07/1.17, allocations: 0 / 1.396 GB, free: 3.293 MB / 1.092 GB Notification: Performance of Templates: time 0.002045/1.172, allocations: 0.5744 MB / 1.397 GB, free: 3.008 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.217252471949905]