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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 110.5 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.002276/0.002276, allocations: 194.2 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.439/1.439, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.921/2.921, allocations: 489.3 MB / 0.7687 GB, free: 3.734 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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 67.88 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9213/0.9234, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002527/0.926, allocations: 1.493 MB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1738/1.1, allocations: 132.1 MB / 1.393 GB, free: 6.656 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/1.1, allocations: 0 / 1.393 GB, free: 6.656 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 4.143e-05/1.1, allocations: 3.938 kB / 1.393 GB, free: 6.652 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 6.19e-05/1.1, allocations: 9.969 kB / 1.393 GB, free: 6.645 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/1.101, allocations: 72.08 kB / 1.393 GB, free: 6.594 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/1.101, allocations: 53.78 kB / 1.393 GB, free: 6.562 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/1.101, allocations: 14.25 kB / 1.393 GB, free: 6.555 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/1.101, allocations: 19.52 kB / 1.393 GB, free: 6.543 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/1.101, allocations: 27.38 kB / 1.393 GB, free: 6.523 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/1.101, allocations: 8.219 kB / 1.393 GB, free: 6.52 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 8.019e-05/1.101, allocations: 10.59 kB / 1.393 GB, free: 6.52 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/1.101, allocations: 17.42 kB / 1.393 GB, free: 6.504 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/1.101, allocations: 26.69 kB / 1.393 GB, free: 6.484 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/1.101, allocations: 51.75 kB / 1.393 GB, free: 6.453 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.101, allocations: 5.109 kB / 1.393 GB, free: 6.449 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.583e-06/1.101, allocations: 0 / 1.393 GB, free: 6.449 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.101, allocations: 0 / 1.393 GB, free: 6.449 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005726/1.102, allocations: 379.5 kB / 1.394 GB, free: 6.055 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/1.102, allocations: 8.656 kB / 1.394 GB, free: 6.055 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/1.102, allocations: 7.438 kB / 1.394 GB, free: 6.051 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/1.102, allocations: 176.3 kB / 1.394 GB, free: 5.844 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/1.102, allocations: 1.938 kB / 1.394 GB, free: 5.844 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/1.102, allocations: 1.812 kB / 1.394 GB, free: 5.844 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/1.102, allocations: 78.92 kB / 1.394 GB, free: 5.785 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.102, allocations: 192 / 1.394 GB, free: 5.785 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/1.102, allocations: 3.938 kB / 1.394 GB, free: 5.781 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.102, allocations: 0.8125 kB / 1.394 GB, free: 5.781 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/1.103, allocations: 74.45 kB / 1.394 GB, free: 5.746 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/1.103, allocations: 282.5 kB / 1.394 GB, free: 5.438 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/1.103, allocations: 57.44 kB / 1.394 GB, free: 5.395 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/1.104, allocations: 39.83 kB / 1.394 GB, free: 5.371 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/1.104, allocations: 97.09 kB / 1.394 GB, free: 5.266 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/1.104, allocations: 31.91 kB / 1.394 GB, free: 5.227 MB / 1.092 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/1.104, allocations: 0 / 1.394 GB, free: 5.227 MB / 1.092 GB Notification: Performance of matching and sorting (n=3): time 0.0005516/1.104, allocations: 134.2 kB / 1.395 GB, free: 5.145 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/1.104, allocations: 52.69 kB / 1.395 GB, free: 5.082 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/1.104, allocations: 115.2 kB / 1.395 GB, free: 4.973 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/1.105, allocations: 27.02 kB / 1.395 GB, free: 4.941 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/1.105, allocations: 89.56 kB / 1.395 GB, free: 4.852 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/1.105, allocations: 9.391 kB / 1.395 GB, free: 4.844 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/1.105, allocations: 17.38 kB / 1.395 GB, free: 4.824 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.105, allocations: 319.9 kB / 1.395 GB, free: 4.504 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/1.105, allocations: 30.34 kB / 1.395 GB, free: 4.492 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/1.105, allocations: 33.16 kB / 1.395 GB, free: 4.477 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/1.105, allocations: 71.75 kB / 1.395 GB, free: 4.438 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.105, allocations: 0 / 1.395 GB, free: 4.438 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003375/1.106, allocations: 110.8 kB / 1.395 GB, free: 4.363 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/1.106, allocations: 5.281 kB / 1.395 GB, free: 4.363 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/1.106, allocations: 0 / 1.395 GB, free: 4.363 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/1.106, allocations: 7.938 kB / 1.395 GB, free: 4.355 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/1.106, allocations: 19.7 kB / 1.395 GB, free: 4.348 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/1.106, allocations: 0 / 1.395 GB, free: 4.348 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.08e-05/1.106, allocations: 14.89 kB / 1.396 GB, free: 4.34 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/1.106, allocations: 1.281 kB / 1.396 GB, free: 4.34 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.834e-05/1.106, allocations: 119.6 kB / 1.396 GB, free: 4.219 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/1.106, allocations: 10.12 kB / 1.396 GB, free: 4.211 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/1.107, allocations: 109.6 kB / 1.396 GB, free: 4.129 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.107, allocations: 0 / 1.396 GB, free: 4.129 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.107, allocations: 1.688 kB / 1.396 GB, free: 4.129 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.107, allocations: 0 / 1.396 GB, free: 4.129 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/1.107, allocations: 170.2 kB / 1.396 GB, free: 3.922 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.107, allocations: 3.984 kB / 1.396 GB, free: 3.918 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.359e-05/1.107, allocations: 18.67 kB / 1.396 GB, free: 3.91 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.107, allocations: 0 / 1.396 GB, free: 3.91 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/1.107, allocations: 1.188 kB / 1.396 GB, free: 3.91 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.107, allocations: 0 / 1.396 GB, free: 3.91 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.107, allocations: 1.281 kB / 1.396 GB, free: 3.91 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/1.107, allocations: 208.1 kB / 1.396 GB, free: 3.73 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/1.107, allocations: 79.27 kB / 1.396 GB, free: 3.637 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/1.107, allocations: 0 / 1.396 GB, free: 3.637 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/1.107, allocations: 15.98 kB / 1.396 GB, free: 3.629 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/1.108, allocations: 9.359 kB / 1.396 GB, free: 3.621 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/1.108, allocations: 1.219 kB / 1.396 GB, free: 3.621 MB / 1.092 GB Notification: Performance of sorting global known variables: time 5.882e-05/1.108, allocations: 87.94 kB / 1.396 GB, free: 3.543 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.81e-07/1.108, allocations: 0 / 1.396 GB, free: 3.543 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000229/1.108, allocations: 20.45 kB / 1.396 GB, free: 3.535 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.0001554/1.108, allocations: 108.9 kB / 1.396 GB, free: 3.441 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003475/1.108, allocations: 75.75 kB / 1.397 GB, free: 3.406 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.108, allocations: 0 / 1.397 GB, free: 3.406 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/1.108, allocations: 36.88 kB / 1.397 GB, free: 3.391 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/1.109, allocations: 21.25 kB / 1.397 GB, free: 3.375 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/1.109, allocations: 184.8 kB / 1.397 GB, free: 3.199 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/1.11, allocations: 0.6853 MB / 1.397 GB, free: 2.496 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/1.11, allocations: 13.72 kB / 1.397 GB, free: 2.484 MB / 1.092 GB Notification: Performance of SimCode: time 2.1e-07/1.11, allocations: 0 / 1.397 GB, free: 2.484 MB / 1.092 GB Notification: Performance of Templates: time 0.002543/1.112, allocations: 0.9353 MB / 1.398 GB, free: 2.016 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.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.281388089060783]