Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001359/0.001359, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001493/0.001493, allocations: 214.7 kB / 22.99 MB, free: 4.945 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.397/3.397, allocations: 0.5107 GB / 0.8166 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_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_latest_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.002083/0.002083, allocations: 69.66 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3679, allocations: 181.9 MB / 1.365 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003005/0.3709, allocations: 1.52 MB / 1.366 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1497/0.5206, allocations: 115.8 MB / 1.479 GB, free: 7.895 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.5206, allocations: 0 / 1.479 GB, free: 7.895 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.5206, allocations: 3.938 kB / 1.479 GB, free: 7.891 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.5207, allocations: 7.875 kB / 1.479 GB, free: 7.883 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.5211, allocations: 79.59 kB / 1.479 GB, free: 7.805 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.5212, allocations: 55.84 kB / 1.479 GB, free: 7.75 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 8.372e-05/0.5213, allocations: 7.984 kB / 1.479 GB, free: 7.742 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 5.285e-05/0.5214, allocations: 19.94 kB / 1.479 GB, free: 7.723 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.5214, allocations: 23.91 kB / 1.479 GB, free: 7.699 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.5215, allocations: 11.92 kB / 1.479 GB, free: 7.688 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.5215, allocations: 15.98 kB / 1.479 GB, free: 7.672 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.5216, allocations: 15.94 kB / 1.479 GB, free: 7.656 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.5216, allocations: 15.92 kB / 1.479 GB, free: 7.641 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.5217, allocations: 59.7 kB / 1.479 GB, free: 7.582 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.5217, allocations: 4 kB / 1.479 GB, free: 7.578 MB / 1.17 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5217, allocations: 0 / 1.479 GB, free: 7.578 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.5217, allocations: 0 / 1.479 GB, free: 7.578 MB / 1.17 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.0005048/0.5223, allocations: 298.1 kB / 1.48 GB, free: 7.254 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.5223, allocations: 12.03 kB / 1.48 GB, free: 7.242 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.5224, allocations: 12.92 kB / 1.48 GB, free: 7.23 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.5225, allocations: 114.5 kB / 1.48 GB, free: 7.094 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.5226, allocations: 4.375 kB / 1.48 GB, free: 7.09 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.5226, allocations: 4.375 kB / 1.48 GB, free: 7.086 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.5228, allocations: 78.19 kB / 1.48 GB, free: 7.004 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.5228, allocations: 192 / 1.48 GB, free: 7.004 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.5228, allocations: 11.94 kB / 1.48 GB, free: 6.992 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.5228, allocations: 0 / 1.48 GB, free: 6.992 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.5231, allocations: 71.84 kB / 1.48 GB, free: 6.922 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.5235, allocations: 228.5 kB / 1.48 GB, free: 6.668 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.5237, allocations: 54.48 kB / 1.48 GB, free: 6.605 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.5238, allocations: 44.84 kB / 1.48 GB, free: 6.559 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.5239, allocations: 4 kB / 1.48 GB, free: 6.555 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.5239, allocations: 30.56 kB / 1.48 GB, free: 6.516 MB / 1.17 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5239, allocations: 7.938 kB / 1.48 GB, free: 6.508 MB / 1.17 GB Notification: Performance of matching and sorting (n=3): time 0.00051/0.5244, allocations: 125.6 kB / 1.481 GB, free: 6.379 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.5244, allocations: 55.41 kB / 1.481 GB, free: 6.312 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.908e-05/0.5245, allocations: 109.8 kB / 1.481 GB, free: 6.195 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.5246, allocations: 29.7 kB / 1.481 GB, free: 6.16 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.5246, allocations: 88.09 kB / 1.481 GB, free: 6.07 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.5246, allocations: 15.89 kB / 1.481 GB, free: 6.055 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.5247, allocations: 17.7 kB / 1.481 GB, free: 6.031 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5248, allocations: 318.8 kB / 1.481 GB, free: 5.711 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.525, allocations: 27.97 kB / 1.481 GB, free: 5.684 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.5251, allocations: 31.95 kB / 1.481 GB, free: 5.652 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.5254, allocations: 72.78 kB / 1.481 GB, free: 5.578 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5254, allocations: 3.938 kB / 1.481 GB, free: 5.574 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003266/0.5257, allocations: 97.58 kB / 1.481 GB, free: 5.473 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.5257, allocations: 8 kB / 1.481 GB, free: 5.465 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.5257, allocations: 0 / 1.481 GB, free: 5.465 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.5257, allocations: 0 / 1.481 GB, free: 5.465 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.5259, allocations: 23.92 kB / 1.481 GB, free: 5.441 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.5259, allocations: 0 / 1.481 GB, free: 5.441 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.69e-05/0.5259, allocations: 19.97 kB / 1.481 GB, free: 5.422 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.5259, allocations: 4 kB / 1.481 GB, free: 5.418 MB / 1.17 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.957e-05/0.526, allocations: 110.9 kB / 1.481 GB, free: 5.301 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.5261, allocations: 4 kB / 1.481 GB, free: 5.297 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.5261, allocations: 8 kB / 1.482 GB, free: 5.277 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5261, allocations: 0 / 1.482 GB, free: 5.277 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5261, allocations: 4 kB / 1.482 GB, free: 5.273 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.5261, allocations: 4 kB / 1.482 GB, free: 5.27 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.5263, allocations: 125.3 kB / 1.482 GB, free: 5.117 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5263, allocations: 0 / 1.482 GB, free: 5.117 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.5264, allocations: 15.97 kB / 1.482 GB, free: 5.102 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.5264, allocations: 4.328 kB / 1.482 GB, free: 5.098 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.5264, allocations: 0 / 1.482 GB, free: 5.098 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5264, allocations: 0 / 1.482 GB, free: 5.098 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5264, allocations: 0 / 1.482 GB, free: 5.098 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.5268, allocations: 207.3 kB / 1.482 GB, free: 4.879 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.5268, allocations: 19.81 kB / 1.482 GB, free: 4.859 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.5268, allocations: 0 / 1.482 GB, free: 4.859 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.5269, allocations: 11.98 kB / 1.482 GB, free: 4.848 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.5269, allocations: 0 / 1.482 GB, free: 4.848 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.527, allocations: 7.984 kB / 1.482 GB, free: 4.84 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.478e-05/0.527, allocations: 87.59 kB / 1.482 GB, free: 4.754 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.527, allocations: 0 / 1.482 GB, free: 4.754 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002218/0.5272, allocations: 12 kB / 1.482 GB, free: 4.742 MB / 1.17 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.0001054/0.5273, allocations: 99.25 kB / 1.482 GB, free: 4.637 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.5277, allocations: 67.92 kB / 1.482 GB, free: 4.57 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.5277, allocations: 0 / 1.482 GB, free: 4.57 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.5278, allocations: 39.89 kB / 1.482 GB, free: 4.531 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.5281, allocations: 11.94 kB / 1.482 GB, free: 4.52 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.5285, allocations: 169.9 kB / 1.482 GB, free: 4.32 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.669e-05/0.5285, allocations: 71.33 kB / 1.482 GB, free: 4.23 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.5286, allocations: 15.44 kB / 1.482 GB, free: 4.215 MB / 1.17 GB Notification: Performance of SimCode: time 3.91e-07/0.5286, allocations: 0 / 1.482 GB, free: 4.215 MB / 1.17 GB Notification: Performance of Templates: time 0.002428/0.531, allocations: 0.8424 MB / 1.483 GB, free: 3.379 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.612539051100612]