Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001552/0.001552, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001908/0.001908, allocations: 207.3 kB / 22.98 MB, free: 4.984 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.325/3.325, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Functions.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.002033/0.002033, allocations: 78.05 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3796, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002806/0.3824, allocations: 1.299 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2473/0.6297, allocations: 115.7 MB / 1.441 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.6298, allocations: 0 / 1.441 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.6298, allocations: 3.938 kB / 1.441 GB, free: 11.54 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 4.152e-05/0.6298, allocations: 0 / 1.441 GB, free: 11.54 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.6302, allocations: 63.61 kB / 1.441 GB, free: 11.48 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 7.605e-05/0.6302, allocations: 15.94 kB / 1.441 GB, free: 11.46 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.6303, allocations: 0 / 1.441 GB, free: 11.46 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.084e-05/0.6303, allocations: 19.97 kB / 1.441 GB, free: 11.45 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.6304, allocations: 11.88 kB / 1.441 GB, free: 11.43 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.6304, allocations: 0 / 1.441 GB, free: 11.43 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.611e-05/0.6305, allocations: 23.98 kB / 1.442 GB, free: 11.41 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.6305, allocations: 0 / 1.442 GB, free: 11.41 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.6305, allocations: 7.938 kB / 1.442 GB, free: 11.4 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.6306, allocations: 23.97 kB / 1.442 GB, free: 11.38 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.6306, allocations: 0 / 1.442 GB, free: 11.38 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6306, allocations: 4 kB / 1.442 GB, free: 11.38 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.6306, allocations: 0 / 1.442 GB, free: 11.38 MB / 1.139 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.0004135/0.631, allocations: 266.2 kB / 1.442 GB, free: 11.08 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.6311, allocations: 8.031 kB / 1.442 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.6311, allocations: 0.9375 kB / 1.442 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.6312, allocations: 114.5 kB / 1.442 GB, free: 10.94 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.717e-05/0.6313, allocations: 55.97 kB / 1.442 GB, free: 10.87 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.6313, allocations: 384 / 1.442 GB, free: 10.87 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.6315, allocations: 42.25 kB / 1.442 GB, free: 10.82 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6315, allocations: 7.938 kB / 1.442 GB, free: 10.82 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.6315, allocations: 3.984 kB / 1.442 GB, free: 10.81 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6315, allocations: 0 / 1.442 GB, free: 10.81 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.733e-05/0.6316, allocations: 8 kB / 1.442 GB, free: 10.8 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.6318, allocations: 113.2 kB / 1.442 GB, free: 10.66 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.6319, allocations: 30.52 kB / 1.442 GB, free: 10.62 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.6319, allocations: 20.97 kB / 1.442 GB, free: 10.6 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.6321, allocations: 11.98 kB / 1.442 GB, free: 10.59 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.6321, allocations: 38.56 kB / 1.442 GB, free: 10.54 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.6321, allocations: 0 / 1.442 GB, free: 10.54 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0002482/0.6324, allocations: 61.56 kB / 1.442 GB, free: 10.48 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.6324, allocations: 55.34 kB / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.858e-05/0.6325, allocations: 97.86 kB / 1.442 GB, free: 10.3 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.6325, allocations: 25.7 kB / 1.442 GB, free: 10.27 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.6325, allocations: 84.14 kB / 1.443 GB, free: 10.19 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.6326, allocations: 3.953 kB / 1.443 GB, free: 10.18 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.6326, allocations: 21.7 kB / 1.443 GB, free: 10.16 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6328, allocations: 314.8 kB / 1.443 GB, free: 9.84 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.744e-05/0.6328, allocations: 4 kB / 1.443 GB, free: 9.836 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.096e-05/0.6328, allocations: 11.98 kB / 1.443 GB, free: 9.824 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.16e-05/0.6329, allocations: 24.84 kB / 1.443 GB, free: 9.797 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6329, allocations: 0 / 1.443 GB, free: 9.797 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000128/0.6331, allocations: 49.69 kB / 1.443 GB, free: 9.742 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.6331, allocations: 4 kB / 1.443 GB, free: 9.738 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6331, allocations: 3.938 kB / 1.443 GB, free: 9.734 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6331, allocations: 3.938 kB / 1.443 GB, free: 9.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/0.6332, allocations: 12 kB / 1.443 GB, free: 9.719 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.6332, allocations: 3.984 kB / 1.443 GB, free: 9.715 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.205e-05/0.6332, allocations: 7.953 kB / 1.443 GB, free: 9.707 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.6332, allocations: 0 / 1.443 GB, free: 9.707 MB / 1.139 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.725e-05/0.6333, allocations: 109.8 kB / 1.443 GB, free: 9.59 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-06/0.6333, allocations: 0 / 1.443 GB, free: 9.59 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.6335, allocations: 61.3 kB / 1.443 GB, free: 9.516 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.6335, allocations: 4 kB / 1.443 GB, free: 9.512 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6335, allocations: 0 / 1.443 GB, free: 9.512 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.6335, allocations: 7.938 kB / 1.443 GB, free: 9.504 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.6336, allocations: 101.3 kB / 1.443 GB, free: 9.375 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6336, allocations: 0 / 1.443 GB, free: 9.375 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.6336, allocations: 11.92 kB / 1.443 GB, free: 9.363 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6336, allocations: 0 / 1.443 GB, free: 9.363 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.6337, allocations: 3.938 kB / 1.443 GB, free: 9.359 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.6337, allocations: 3.938 kB / 1.443 GB, free: 9.355 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6337, allocations: 4 kB / 1.443 GB, free: 9.352 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.6338, allocations: 73.67 kB / 1.443 GB, free: 9.262 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.6338, allocations: 3.953 kB / 1.443 GB, free: 9.258 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.6339, allocations: 4.047 kB / 1.443 GB, free: 9.254 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.6339, allocations: 15.92 kB / 1.443 GB, free: 9.238 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.6339, allocations: 3.984 kB / 1.443 GB, free: 9.234 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.6339, allocations: 0 / 1.443 GB, free: 9.234 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.167e-05/0.634, allocations: 79.28 kB / 1.443 GB, free: 9.156 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/0.634, allocations: 0 / 1.443 GB, free: 9.156 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0001953/0.6342, allocations: 11.94 kB / 1.443 GB, free: 9.145 MB / 1.139 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.000195/0.6344, allocations: 115.2 kB / 1.444 GB, free: 9.02 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.6345, allocations: 19.98 kB / 1.444 GB, free: 9 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6345, allocations: 4 kB / 1.444 GB, free: 8.996 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.804e-05/0.6346, allocations: 7.984 kB / 1.444 GB, free: 8.988 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.6348, allocations: 11.98 kB / 1.444 GB, free: 8.977 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.6352, allocations: 128.1 kB / 1.444 GB, free: 8.824 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.661e-05/0.6352, allocations: 63.34 kB / 1.444 GB, free: 8.742 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 4.511e-05/0.6353, allocations: 4 kB / 1.444 GB, free: 8.738 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.6353, allocations: 11.44 kB / 1.444 GB, free: 8.727 MB / 1.139 GB Notification: Performance of SimCode: time 3e-07/0.6353, allocations: 0 / 1.444 GB, free: 8.727 MB / 1.139 GB Notification: Performance of Templates: time 0.003094/0.6384, allocations: 0.5632 MB / 1.444 GB, free: 8.176 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.699204250995535]