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.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.0008615/0.0008615, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008144/0.0008144, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8807/0.8807, allocations: 177.1 MB / 203.5 MB, free: 5.668 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.796/1.796, allocations: 389.1 MB / 0.6338 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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 1.393e-06/1.393e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.937e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001551/0.00157, allocations: 1.294 MB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5264/0.5279, allocations: 115.8 MB / 1.115 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.528, allocations: 1.062 kB / 1.115 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.528, allocations: 0.6094 kB / 1.115 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.528, allocations: 5.734 kB / 1.115 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.5284, allocations: 58.88 kB / 1.115 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.667e-05/0.5284, allocations: 25 kB / 1.115 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.5285, allocations: 3.344 kB / 1.115 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.832e-05/0.5285, allocations: 17.78 kB / 1.115 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.5286, allocations: 5.938 kB / 1.115 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.5286, allocations: 1.375 kB / 1.115 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.157e-05/0.5287, allocations: 17.19 kB / 1.115 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.5287, allocations: 6.234 kB / 1.115 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.5287, allocations: 3.844 kB / 1.115 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.5288, allocations: 38.16 kB / 1.115 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.5288, allocations: 0.6094 kB / 1.115 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5288, allocations: 1.25 kB / 1.115 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.5288, allocations: 0 / 1.115 GB, free: 11.71 MB / 0.9948 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.0002957/0.5291, allocations: 261.5 kB / 1.116 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.5292, allocations: 11.06 kB / 1.116 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.5293, allocations: 10.05 kB / 1.116 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.592e-05/0.5293, allocations: 104.2 kB / 1.116 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/0.5294, allocations: 56.64 kB / 1.116 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.5294, allocations: 6.078 kB / 1.116 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.562e-05/0.5295, allocations: 39.36 kB / 1.116 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.5295, allocations: 1.281 kB / 1.116 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.5295, allocations: 1.078 kB / 1.116 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5295, allocations: 8.125 kB / 1.116 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.5296, allocations: 19.52 kB / 1.116 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.275e-05/0.5296, allocations: 99.02 kB / 1.116 GB, free: 11.08 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.873e-05/0.5297, allocations: 30.69 kB / 1.116 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.944e-05/0.5297, allocations: 19.02 kB / 1.116 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.5298, allocations: 0 / 1.116 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.5298, allocations: 33.59 kB / 1.116 GB, free: 11 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 6.42e-07/0.5298, allocations: 0 / 1.116 GB, free: 11 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.0001528/0.5299, allocations: 62.64 kB / 1.116 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.5299, allocations: 52.92 kB / 1.116 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.452e-05/0.53, allocations: 103.3 kB / 1.116 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-06/0.53, allocations: 27.86 kB / 1.116 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.856e-06/0.53, allocations: 81.05 kB / 1.116 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.53, allocations: 13.67 kB / 1.116 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.53, allocations: 22 kB / 1.116 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.784e-05/0.5301, allocations: 312.8 kB / 1.117 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/0.5301, allocations: 5.906 kB / 1.117 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/0.5301, allocations: 10.66 kB / 1.117 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.5302, allocations: 27.89 kB / 1.117 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5302, allocations: 0 / 1.117 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.932e-05/0.5302, allocations: 51.78 kB / 1.117 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5302, allocations: 5.797 kB / 1.117 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.5302, allocations: 1.062 kB / 1.117 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.5302, allocations: 0 / 1.117 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/0.5303, allocations: 7.828 kB / 1.117 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5303, allocations: 3.938 kB / 1.117 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.5303, allocations: 1.812 kB / 1.117 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.5303, allocations: 7.219 kB / 1.117 GB, free: 10.26 MB / 0.9948 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 3.2e-05/0.5304, allocations: 108.1 kB / 1.117 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-06/0.5304, allocations: 6.312 kB / 1.117 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.676e-05/0.5304, allocations: 4.344 kB / 1.117 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5304, allocations: 6.141 kB / 1.117 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5304, allocations: 0 / 1.117 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5304, allocations: 3.938 kB / 1.117 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.895e-05/0.5304, allocations: 107.3 kB / 1.117 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5304, allocations: 1.438 kB / 1.117 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.5304, allocations: 5.047 kB / 1.117 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.5304, allocations: 5.125 kB / 1.117 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.5305, allocations: 0 / 1.117 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5305, allocations: 2.141 kB / 1.117 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5305, allocations: 3.938 kB / 1.117 GB, free: 9.996 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.284e-05/0.5305, allocations: 75.22 kB / 1.117 GB, free: 9.926 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.5306, allocations: 10.17 kB / 1.117 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.5306, allocations: 2.109 kB / 1.117 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.29e-05/0.5306, allocations: 2.203 kB / 1.117 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.5306, allocations: 3.938 kB / 1.117 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.5306, allocations: 0.6562 kB / 1.117 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.258e-05/0.5306, allocations: 87.06 kB / 1.117 GB, free: 9.836 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5306, allocations: 0 / 1.117 GB, free: 9.836 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001114/0.5307, allocations: 4.625 kB / 1.117 GB, free: 9.836 MB / 0.9948 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 7.158e-05/0.5308, allocations: 106.1 kB / 1.117 GB, free: 9.742 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 8.69e-05/0.5309, allocations: 21.61 kB / 1.117 GB, free: 9.738 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.5309, allocations: 0 / 1.117 GB, free: 9.738 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.5309, allocations: 12.77 kB / 1.117 GB, free: 9.734 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.5311, allocations: 10.42 kB / 1.117 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.5314, allocations: 144.4 kB / 1.118 GB, free: 9.59 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.5314, allocations: 59.66 kB / 1.118 GB, free: 9.52 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.5314, allocations: 9.531 kB / 1.118 GB, free: 9.52 MB / 0.9948 GB Notification: Performance of SimCode: time 5.41e-07/0.5314, allocations: 1.062 kB / 1.118 GB, free: 9.52 MB / 0.9948 GB Notification: Performance of Templates: time 0.001488/0.5329, allocations: 0.513 MB / 1.118 GB, free: 9.504 MB / 0.9948 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.909491570666432]