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.001038/0.001038, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001111/0.002149, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007477/0.0007477, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009474/0.001695, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9328/0.9328, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0929/1.026, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.888/1.888, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4913/2.379, allocations: 123.3 MB / 0.728 GB, free: 5.84 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.514e-05, allocations: 10.19 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001505/0.00152, allocations: 1.366 MB / 0.7307 GB, free: 3.188 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1224/0.1239, allocations: 127.5 MB / 0.8552 GB, free: 3.418 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.124, allocations: 4 kB / 0.8552 GB, free: 3.414 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.124, allocations: 0 / 0.8552 GB, free: 3.414 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.442e-05/0.1241, allocations: 3.938 kB / 0.8552 GB, free: 3.41 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1243, allocations: 59.61 kB / 0.8553 GB, free: 3.352 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.935e-05/0.1244, allocations: 23.86 kB / 0.8553 GB, free: 3.328 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.1245, allocations: 4 kB / 0.8553 GB, free: 3.324 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.61e-05/0.1245, allocations: 15.98 kB / 0.8553 GB, free: 3.309 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.648e-05/0.1246, allocations: 11.92 kB / 0.8553 GB, free: 3.297 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1246, allocations: 4 kB / 0.8553 GB, free: 3.293 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.386e-05/0.1247, allocations: 15.98 kB / 0.8553 GB, free: 3.277 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.1247, allocations: 4 kB / 0.8553 GB, free: 3.273 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.1247, allocations: 7.984 kB / 0.8553 GB, free: 3.266 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.1248, allocations: 27.88 kB / 0.8554 GB, free: 3.238 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-05/0.1248, allocations: 3.938 kB / 0.8554 GB, free: 3.234 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1248, allocations: 0 / 0.8554 GB, free: 3.234 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.1249, allocations: 0 / 0.8554 GB, free: 3.234 MB / 0.823 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.000363/0.1252, allocations: 240.6 kB / 0.8556 GB, free: 2.973 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1253, allocations: 8.031 kB / 0.8556 GB, free: 2.965 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1253, allocations: 4.938 kB / 0.8556 GB, free: 2.961 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.677e-05/0.1254, allocations: 113.8 kB / 0.8557 GB, free: 2.824 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.667e-05/0.1254, allocations: 59.97 kB / 0.8558 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.1255, allocations: 4.375 kB / 0.8558 GB, free: 2.75 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/0.1255, allocations: 42.95 kB / 0.8558 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.1255, allocations: 4.188 kB / 0.8558 GB, free: 2.695 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.842e-06/0.1255, allocations: 384 / 0.8558 GB, free: 2.695 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1256, allocations: 4.125 kB / 0.8558 GB, free: 2.691 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.1256, allocations: 15.91 kB / 0.8558 GB, free: 2.676 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.929e-05/0.1257, allocations: 61.05 kB / 0.8559 GB, free: 2.602 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.483e-05/0.1257, allocations: 18.58 kB / 0.8559 GB, free: 2.574 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.1257, allocations: 12.86 kB / 0.8559 GB, free: 2.559 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.1259, allocations: 12.12 kB / 0.8559 GB, free: 2.547 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1259, allocations: 34.56 kB / 0.856 GB, free: 2.504 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.1259, allocations: 0 / 0.856 GB, free: 2.504 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001078/0.126, allocations: 41.81 kB / 0.856 GB, free: 2.457 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.126, allocations: 51.41 kB / 0.8561 GB, free: 2.395 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.348e-05/0.1261, allocations: 110.7 kB / 0.8562 GB, free: 2.273 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.1261, allocations: 25.7 kB / 0.8562 GB, free: 2.242 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.094e-05/0.1261, allocations: 96.06 kB / 0.8563 GB, free: 2.145 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.1261, allocations: 3.953 kB / 0.8563 GB, free: 2.141 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.1262, allocations: 13.72 kB / 0.8563 GB, free: 2.121 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.247e-05/0.1262, allocations: 314.8 kB / 0.8566 GB, free: 1.805 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.1262, allocations: 7.984 kB / 0.8566 GB, free: 1.797 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.1262, allocations: 0 / 0.8566 GB, free: 1.797 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.53e-05/0.1263, allocations: 12.86 kB / 0.8566 GB, free: 1.781 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1263, allocations: 0 / 0.8566 GB, free: 1.781 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.031e-05/0.1263, allocations: 45.62 kB / 0.8567 GB, free: 1.73 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1263, allocations: 6.812 kB / 0.8567 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1263, allocations: 4 kB / 0.8567 GB, free: 1.723 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.1263, allocations: 4 kB / 0.8567 GB, free: 1.719 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.1264, allocations: 7.984 kB / 0.8567 GB, free: 1.711 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.1264, allocations: 0 / 0.8567 GB, free: 1.711 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.386e-05/0.1264, allocations: 0 / 0.8567 GB, free: 1.711 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1264, allocations: 11.92 kB / 0.8567 GB, free: 1.699 MB / 0.823 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 5.84e-05/0.1265, allocations: 105.8 kB / 0.8568 GB, free: 1.586 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-06/0.1265, allocations: 0 / 0.8568 GB, free: 1.586 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.419e-05/0.1266, allocations: 57.25 kB / 0.8569 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1266, allocations: 0 / 0.8569 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1266, allocations: 8 kB / 0.8569 GB, free: 1.512 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1266, allocations: 0 / 0.8569 GB, free: 1.512 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.874e-05/0.1266, allocations: 69.83 kB / 0.8569 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1267, allocations: 0 / 0.8569 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.1267, allocations: 4 kB / 0.8569 GB, free: 1.422 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.1267, allocations: 11.92 kB / 0.8569 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1267, allocations: 0 / 0.8569 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-06/0.1267, allocations: 0 / 0.8569 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1267, allocations: 0 / 0.8569 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1267, allocations: 0 / 0.8569 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.689e-05/0.1268, allocations: 73.06 kB / 0.857 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-06/0.1268, allocations: 4 kB / 0.857 GB, free: 1.316 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-06/0.1268, allocations: 3.938 kB / 0.857 GB, free: 1.312 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.1268, allocations: 7.984 kB / 0.857 GB, free: 1.305 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.1268, allocations: 0 / 0.857 GB, free: 1.305 MB / 0.823 GB Notification: Performance of sorting global known variables: time 9.107e-06/0.1268, allocations: 5.281 kB / 0.857 GB, free: 1.297 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.1268, allocations: 3.938 kB / 0.857 GB, free: 1.293 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001057/0.1269, allocations: 12 kB / 0.8571 GB, free: 1.281 MB / 0.823 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.000144/0.1271, allocations: 92.47 kB / 0.8571 GB, free: 1.18 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.156e-05/0.1271, allocations: 20.84 kB / 0.8572 GB, free: 1.156 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1271, allocations: 4 kB / 0.8572 GB, free: 1.152 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.664e-05/0.1271, allocations: 20.78 kB / 0.8572 GB, free: 1.129 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.1272, allocations: 7.938 kB / 0.8572 GB, free: 1.121 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.1283, allocations: 140.6 kB / 0.8573 GB, free: 0.957 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.837e-05/0.1283, allocations: 67.28 kB / 0.8574 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.685e-05/0.1283, allocations: 0 / 0.8574 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.1284, allocations: 55.38 kB / 0.8574 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of SimCode: time 6.21e-07/0.1284, allocations: 0 / 0.8574 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of Templates: time 0.002111/0.1305, allocations: 0.6015 MB / 0.858 GB, free: 228 kB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.945715557783842]