Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008116/0.0008116, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007646/0.0007646, 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.8931/0.8931, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.654/1.654, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.122e-05, allocations: 10.22 kB / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001457/0.001478, allocations: 1.306 MB / 0.953 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5328/0.5342, allocations: 115.8 MB / 1.066 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.5343, allocations: 2.906 kB / 1.066 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.5343, allocations: 0 / 1.066 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.372e-05/0.5344, allocations: 6.375 kB / 1.066 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.5347, allocations: 55.11 kB / 1.066 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.833e-05/0.5348, allocations: 28.23 kB / 1.066 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.5348, allocations: 2.438 kB / 1.066 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/0.5349, allocations: 12.17 kB / 1.066 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/0.5349, allocations: 9.797 kB / 1.066 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.535, allocations: 0 / 1.066 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.082e-05/0.535, allocations: 19.25 kB / 1.066 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.535, allocations: 3.594 kB / 1.066 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.5351, allocations: 7.906 kB / 1.066 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.5352, allocations: 31.16 kB / 1.066 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.5352, allocations: 4 kB / 1.066 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.644e-06/0.5352, allocations: 0 / 1.066 GB, free: 42.39 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.5352, allocations: 0 / 1.066 GB, free: 42.39 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.0002936/0.5355, allocations: 258.4 kB / 1.066 GB, free: 42.14 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.5355, allocations: 11.97 kB / 1.066 GB, free: 42.14 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.5355, allocations: 3.781 kB / 1.066 GB, free: 42.14 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.749e-05/0.5356, allocations: 107.7 kB / 1.067 GB, free: 42.01 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.5357, allocations: 57.75 kB / 1.067 GB, free: 41.95 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.5357, allocations: 384 / 1.067 GB, free: 41.95 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.39e-05/0.5358, allocations: 48.62 kB / 1.067 GB, free: 41.91 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.5358, allocations: 4.188 kB / 1.067 GB, free: 41.91 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.5358, allocations: 2.938 kB / 1.067 GB, free: 41.91 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5358, allocations: 4.125 kB / 1.067 GB, free: 41.91 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.5358, allocations: 13.69 kB / 1.067 GB, free: 41.91 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.578e-05/0.5359, allocations: 99.52 kB / 1.067 GB, free: 41.79 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.253e-05/0.536, allocations: 32.56 kB / 1.067 GB, free: 41.76 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.536, allocations: 11.27 kB / 1.067 GB, free: 41.75 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.5361, allocations: 16.25 kB / 1.067 GB, free: 41.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.5361, allocations: 36.94 kB / 1.067 GB, free: 41.71 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.5361, allocations: 0 / 1.067 GB, free: 41.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.0001573/0.5363, allocations: 58.75 kB / 1.067 GB, free: 41.68 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.5363, allocations: 51.41 kB / 1.067 GB, free: 41.62 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.838e-05/0.5364, allocations: 99.61 kB / 1.067 GB, free: 41.52 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-06/0.5364, allocations: 26.91 kB / 1.067 GB, free: 41.48 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.796e-06/0.5364, allocations: 80.14 kB / 1.067 GB, free: 41.4 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.5364, allocations: 14.86 kB / 1.067 GB, free: 41.4 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.5364, allocations: 12.62 kB / 1.067 GB, free: 41.38 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.876e-05/0.5364, allocations: 321.8 kB / 1.068 GB, free: 41.07 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.5365, allocations: 8.844 kB / 1.068 GB, free: 41.07 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.5365, allocations: 2.938 kB / 1.068 GB, free: 41.07 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.5365, allocations: 29.02 kB / 1.068 GB, free: 41.06 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5365, allocations: 0 / 1.068 GB, free: 41.06 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.471e-05/0.5366, allocations: 54.48 kB / 1.068 GB, free: 41.02 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5366, allocations: 4.219 kB / 1.068 GB, free: 41.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5366, allocations: 10.05 kB / 1.068 GB, free: 41.02 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.5366, allocations: 4 kB / 1.068 GB, free: 41.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.789e-05/0.5367, allocations: 2.875 kB / 1.068 GB, free: 41.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5367, allocations: 10.12 kB / 1.068 GB, free: 41.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.507e-05/0.5367, allocations: 0 / 1.068 GB, free: 41.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.5367, allocations: 2.938 kB / 1.068 GB, free: 41.02 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.614e-05/0.5367, allocations: 109.1 kB / 1.068 GB, free: 40.9 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-06/0.5367, allocations: 3.391 kB / 1.068 GB, free: 40.9 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.747e-05/0.5368, allocations: 53.88 kB / 1.068 GB, free: 40.87 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5368, allocations: 6.938 kB / 1.068 GB, free: 40.86 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5368, allocations: 4 kB / 1.068 GB, free: 40.86 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5368, allocations: 5.031 kB / 1.068 GB, free: 40.86 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.961e-05/0.5369, allocations: 106.7 kB / 1.068 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5369, allocations: 0 / 1.068 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.567e-05/0.5369, allocations: 5.5 kB / 1.068 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5369, allocations: 0 / 1.068 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.5369, allocations: 2.938 kB / 1.068 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.5369, allocations: 3.375 kB / 1.068 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5369, allocations: 0 / 1.068 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.277e-05/0.537, allocations: 78.61 kB / 1.068 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.537, allocations: 11.23 kB / 1.068 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.537, allocations: 4.109 kB / 1.068 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.127e-05/0.537, allocations: 3.312 kB / 1.068 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.537, allocations: 6.156 kB / 1.068 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.5371, allocations: 0 / 1.068 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.371e-05/0.5371, allocations: 81.91 kB / 1.068 GB, free: 40.58 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5371, allocations: 0 / 1.068 GB, free: 40.58 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001265/0.5372, allocations: 9.094 kB / 1.068 GB, free: 40.58 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 0.0001298/0.5373, allocations: 113.5 kB / 1.068 GB, free: 40.49 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.088e-05/0.5374, allocations: 24.52 kB / 1.068 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.5374, allocations: 0 / 1.068 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.085e-05/0.5374, allocations: 12.53 kB / 1.068 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.5376, allocations: 15 kB / 1.068 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002344/0.5379, allocations: 138.3 kB / 1.068 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.811e-05/0.5379, allocations: 60.33 kB / 1.068 GB, free: 40.29 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.5379, allocations: 13.84 kB / 1.068 GB, free: 40.29 MB / 0.9948 GB Notification: Performance of SimCode: time 4.91e-07/0.5379, allocations: 4 kB / 1.069 GB, free: 40.28 MB / 0.9948 GB Notification: Performance of Templates: time 0.001519/0.5394, allocations: 0.5943 MB / 1.069 GB, free: 40.26 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.809127411805093]