Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 216.2 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.263/3.263, allocations: 0.49 GB / 0.7958 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 75.25 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3926, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003991/0.3966, allocations: 1.534 MB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2124/0.609, allocations: 135.3 MB / 1.461 GB, free: 8.164 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.6091, allocations: 0 / 1.461 GB, free: 8.164 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.6091, allocations: 7.938 kB / 1.461 GB, free: 8.156 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.203e-05/0.6092, allocations: 7.875 kB / 1.461 GB, free: 8.148 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.6096, allocations: 67.64 kB / 1.461 GB, free: 8.082 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.6097, allocations: 59.67 kB / 1.461 GB, free: 8.027 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.6098, allocations: 15.98 kB / 1.461 GB, free: 8.012 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.299e-05/0.6098, allocations: 15.94 kB / 1.461 GB, free: 7.996 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.6099, allocations: 27.91 kB / 1.461 GB, free: 7.969 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.6099, allocations: 7.938 kB / 1.461 GB, free: 7.961 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.61, allocations: 23.98 kB / 1.461 GB, free: 7.938 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.61, allocations: 11.94 kB / 1.461 GB, free: 7.926 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.6101, allocations: 23.86 kB / 1.461 GB, free: 7.902 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.6102, allocations: 55.81 kB / 1.461 GB, free: 7.848 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6102, allocations: 0 / 1.461 GB, free: 7.848 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6102, allocations: 0 / 1.461 GB, free: 7.848 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.6102, allocations: 7.938 kB / 1.461 GB, free: 7.84 MB / 1.154 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.0005543/0.6108, allocations: 302 kB / 1.461 GB, free: 7.512 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.6108, allocations: 12.03 kB / 1.461 GB, free: 7.5 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.6109, allocations: 4.891 kB / 1.461 GB, free: 7.496 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.611, allocations: 114.5 kB / 1.461 GB, free: 7.359 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.611, allocations: 4.375 kB / 1.461 GB, free: 7.355 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.611, allocations: 4.359 kB / 1.461 GB, free: 7.352 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.6113, allocations: 74.22 kB / 1.461 GB, free: 7.273 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.6113, allocations: 192 / 1.461 GB, free: 7.273 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.6113, allocations: 3.938 kB / 1.462 GB, free: 7.27 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6113, allocations: 4 kB / 1.462 GB, free: 7.266 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.6116, allocations: 79.78 kB / 1.462 GB, free: 7.188 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.612, allocations: 255.8 kB / 1.462 GB, free: 6.895 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.6122, allocations: 50.55 kB / 1.462 GB, free: 6.836 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.6124, allocations: 40.91 kB / 1.462 GB, free: 6.793 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.6125, allocations: 15.98 kB / 1.462 GB, free: 6.777 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.6125, allocations: 34.5 kB / 1.462 GB, free: 6.734 MB / 1.154 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.6125, allocations: 0 / 1.462 GB, free: 6.734 MB / 1.154 GB Notification: Performance of matching and sorting (n=3): time 0.0005219/0.6131, allocations: 125.5 kB / 1.462 GB, free: 6.605 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.6131, allocations: 63.39 kB / 1.462 GB, free: 6.531 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.6132, allocations: 114.2 kB / 1.462 GB, free: 6.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.6132, allocations: 25.7 kB / 1.462 GB, free: 6.379 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.6134, allocations: 88.14 kB / 1.462 GB, free: 6.289 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.6134, allocations: 11.91 kB / 1.462 GB, free: 6.277 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.6134, allocations: 17.7 kB / 1.462 GB, free: 6.254 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.6136, allocations: 318.8 kB / 1.463 GB, free: 5.934 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.6137, allocations: 39.95 kB / 1.463 GB, free: 5.895 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.6138, allocations: 27.97 kB / 1.463 GB, free: 5.867 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.6141, allocations: 76.98 kB / 1.463 GB, free: 5.789 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6141, allocations: 0 / 1.463 GB, free: 5.789 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002905/0.6144, allocations: 97.62 kB / 1.463 GB, free: 5.688 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.6144, allocations: 4 kB / 1.463 GB, free: 5.684 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.6144, allocations: 0 / 1.463 GB, free: 5.684 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.6144, allocations: 4 kB / 1.463 GB, free: 5.68 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.6145, allocations: 19.97 kB / 1.463 GB, free: 5.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6145, allocations: 0 / 1.463 GB, free: 5.66 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.6146, allocations: 19.94 kB / 1.463 GB, free: 5.641 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.6146, allocations: 0 / 1.463 GB, free: 5.641 MB / 1.154 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.928e-05/0.6147, allocations: 125.7 kB / 1.463 GB, free: 5.508 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.6147, allocations: 4 kB / 1.463 GB, free: 5.504 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.6151, allocations: 105.6 kB / 1.463 GB, free: 5.383 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.6151, allocations: 4 kB / 1.463 GB, free: 5.379 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6151, allocations: 0 / 1.463 GB, free: 5.379 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6151, allocations: 0 / 1.463 GB, free: 5.379 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.6153, allocations: 148.6 kB / 1.463 GB, free: 5.191 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6153, allocations: 0 / 1.463 GB, free: 5.191 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.152e-05/0.6154, allocations: 15.98 kB / 1.463 GB, free: 5.176 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.6154, allocations: 0 / 1.463 GB, free: 5.176 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.6154, allocations: 0 / 1.463 GB, free: 5.176 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.6154, allocations: 3.984 kB / 1.463 GB, free: 5.172 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6154, allocations: 0 / 1.463 GB, free: 5.172 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.6158, allocations: 211.3 kB / 1.464 GB, free: 4.949 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.6158, allocations: 7.891 kB / 1.464 GB, free: 4.941 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.6158, allocations: 4 kB / 1.464 GB, free: 4.938 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.6159, allocations: 11.97 kB / 1.464 GB, free: 4.926 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.616, allocations: 8 kB / 1.464 GB, free: 4.918 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.616, allocations: 4 kB / 1.464 GB, free: 4.914 MB / 1.154 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.6161, allocations: 95.31 kB / 1.464 GB, free: 4.82 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.6161, allocations: 0 / 1.464 GB, free: 4.82 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002321/0.6163, allocations: 12 kB / 1.464 GB, free: 4.809 MB / 1.154 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.0001676/0.6165, allocations: 115.2 kB / 1.464 GB, free: 4.688 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003665/0.6168, allocations: 71.86 kB / 1.464 GB, free: 4.617 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.6168, allocations: 0 / 1.464 GB, free: 4.617 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.617, allocations: 35.95 kB / 1.464 GB, free: 4.582 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.6173, allocations: 15.94 kB / 1.464 GB, free: 4.566 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.6177, allocations: 182 kB / 1.464 GB, free: 4.355 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.6181, allocations: 0.6807 MB / 1.465 GB, free: 3.648 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.6182, allocations: 11.44 kB / 1.465 GB, free: 3.637 MB / 1.154 GB Notification: Performance of SimCode: time 4.31e-07/0.6182, allocations: 0 / 1.465 GB, free: 3.637 MB / 1.154 GB Notification: Performance of Templates: time 0.002778/0.6209, allocations: 0.9432 MB / 1.466 GB, free: 2.695 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.549792967009125]