Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001665/0.001665, allocations: 112.5 kB / 17.13 MB, free: 5.914 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.0019/0.0019, allocations: 198 kB / 20.08 MB, free: 2.977 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.45/1.45, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.89 kB / 1.057 GB, free: 1.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3496, allocations: 160.7 MB / 1.214 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002623/0.3522, allocations: 1.274 MB / 1.215 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7475/1.1, allocations: 132.4 MB / 1.345 GB, free: 3.773 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/1.1, allocations: 5.312 kB / 1.345 GB, free: 3.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/1.1, allocations: 4.5 kB / 1.345 GB, free: 3.766 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.606e-05/1.1, allocations: 9.625 kB / 1.345 GB, free: 3.758 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/1.1, allocations: 65.64 kB / 1.345 GB, free: 3.727 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.66e-05/1.1, allocations: 17.91 kB / 1.345 GB, free: 3.723 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/1.1, allocations: 2.531 kB / 1.345 GB, free: 3.723 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.34e-05/1.1, allocations: 10.27 kB / 1.345 GB, free: 3.719 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/1.1, allocations: 9.812 kB / 1.345 GB, free: 3.715 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/1.1, allocations: 1.312 kB / 1.345 GB, free: 3.715 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.869e-05/1.101, allocations: 17.52 kB / 1.345 GB, free: 3.707 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/1.101, allocations: 9.922 kB / 1.345 GB, free: 3.699 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/1.101, allocations: 9.422 kB / 1.345 GB, free: 3.695 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/1.101, allocations: 20.98 kB / 1.345 GB, free: 3.691 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.101, allocations: 0.7031 kB / 1.345 GB, free: 3.691 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/1.101, allocations: 0 / 1.345 GB, free: 3.691 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.14e-06/1.101, allocations: 1.312 kB / 1.345 GB, free: 3.691 MB / 1.029 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.0004365/1.101, allocations: 334.3 kB / 1.345 GB, free: 3.336 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/1.101, allocations: 8.531 kB / 1.345 GB, free: 3.336 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/1.101, allocations: 3.188 kB / 1.345 GB, free: 3.336 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/1.101, allocations: 171 kB / 1.345 GB, free: 3.133 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/1.101, allocations: 29.22 kB / 1.345 GB, free: 3.102 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/1.101, allocations: 2.875 kB / 1.345 GB, free: 3.102 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/1.102, allocations: 39.52 kB / 1.345 GB, free: 3.066 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.102, allocations: 7.875 kB / 1.345 GB, free: 3.059 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/1.102, allocations: 1.625 kB / 1.345 GB, free: 3.059 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/1.102, allocations: 0 / 1.345 GB, free: 3.059 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/1.102, allocations: 15.48 kB / 1.345 GB, free: 3.055 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/1.102, allocations: 157 kB / 1.346 GB, free: 2.859 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/1.102, allocations: 29.58 kB / 1.346 GB, free: 2.832 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.763e-05/1.102, allocations: 15.56 kB / 1.346 GB, free: 2.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/1.102, allocations: 89.2 kB / 1.346 GB, free: 2.727 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/1.102, allocations: 32.23 kB / 1.346 GB, free: 2.688 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/1.102, allocations: 4 kB / 1.346 GB, free: 2.684 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002437/1.102, allocations: 62.56 kB / 1.346 GB, free: 2.641 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/1.103, allocations: 51.41 kB / 1.346 GB, free: 2.578 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.281e-05/1.103, allocations: 99.7 kB / 1.346 GB, free: 2.477 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/1.103, allocations: 28.95 kB / 1.346 GB, free: 2.445 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/1.103, allocations: 80.14 kB / 1.346 GB, free: 2.363 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/1.103, allocations: 9.672 kB / 1.346 GB, free: 2.355 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/1.103, allocations: 21.64 kB / 1.346 GB, free: 2.332 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.103, allocations: 313.4 kB / 1.346 GB, free: 2.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/1.103, allocations: 5.875 kB / 1.346 GB, free: 2.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.532e-05/1.103, allocations: 11.91 kB / 1.346 GB, free: 2.016 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.204e-05/1.103, allocations: 26.75 kB / 1.346 GB, free: 2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.103, allocations: 0 / 1.346 GB, free: 2 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001307/1.103, allocations: 52.91 kB / 1.346 GB, free: 1.961 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.103, allocations: 15.38 kB / 1.346 GB, free: 1.953 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.103, allocations: 0 / 1.346 GB, free: 1.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.103, allocations: 1.344 kB / 1.346 GB, free: 1.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/1.103, allocations: 6.172 kB / 1.346 GB, free: 1.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/1.103, allocations: 0 / 1.346 GB, free: 1.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/1.103, allocations: 4.328 kB / 1.346 GB, free: 1.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/1.103, allocations: 1.25 kB / 1.346 GB, free: 1.953 MB / 1.029 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.279e-05/1.103, allocations: 108.7 kB / 1.347 GB, free: 1.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/1.103, allocations: 5.797 kB / 1.347 GB, free: 1.836 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/1.104, allocations: 65.12 kB / 1.347 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/1.104, allocations: 1.797 kB / 1.347 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.104, allocations: 1.125 kB / 1.347 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.104, allocations: 1.062 kB / 1.347 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/1.104, allocations: 164.4 kB / 1.347 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.104, allocations: 0 / 1.347 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/1.104, allocations: 6.906 kB / 1.347 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.104, allocations: 4.641 kB / 1.347 GB, free: 1.574 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/1.104, allocations: 1.094 kB / 1.347 GB, free: 1.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.104, allocations: 4 kB / 1.347 GB, free: 1.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.104, allocations: 1.859 kB / 1.347 GB, free: 1.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/1.104, allocations: 77.53 kB / 1.347 GB, free: 1.496 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/1.104, allocations: 79.69 kB / 1.347 GB, free: 1.402 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/1.104, allocations: 13.61 kB / 1.347 GB, free: 1.395 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.961e-05/1.104, allocations: 6.828 kB / 1.347 GB, free: 1.391 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/1.104, allocations: 2.266 kB / 1.347 GB, free: 1.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/1.104, allocations: 5.125 kB / 1.347 GB, free: 1.387 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.064e-05/1.104, allocations: 79.83 kB / 1.347 GB, free: 1.312 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/1.104, allocations: 0 / 1.347 GB, free: 1.312 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000185/1.104, allocations: 8.281 kB / 1.347 GB, free: 1.312 MB / 1.029 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.0001538/1.105, allocations: 111.6 kB / 1.347 GB, free: 1.219 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001423/1.105, allocations: 20.42 kB / 1.347 GB, free: 1.215 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.105, allocations: 0 / 1.347 GB, free: 1.215 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.357e-05/1.105, allocations: 21.77 kB / 1.347 GB, free: 1.203 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/1.105, allocations: 5.172 kB / 1.347 GB, free: 1.203 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/1.105, allocations: 144.7 kB / 1.347 GB, free: 1.066 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/1.106, allocations: 0.6761 MB / 1.348 GB, free: 380 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/1.106, allocations: 10.16 kB / 1.348 GB, free: 372 kB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/1.106, allocations: 0 / 1.348 GB, free: 372 kB / 1.029 GB Notification: Performance of Templates: time 0.002137/1.108, allocations: 0.5743 MB / 1.349 GB, free: 336 kB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.12864345498383]