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.000986/0.000986, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001208/0.001208, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9822/0.9822, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.852/1.852, allocations: 377.8 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.455e-06/2.455e-06, allocations: 4 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.586e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00495/0.004976, allocations: 1.322 MB / 0.8128 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1106/0.1156, allocations: 127.7 MB / 0.9375 GB, free: 332 kB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.1157, allocations: 0 / 0.9375 GB, free: 332 kB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.1157, allocations: 3.938 kB / 0.9375 GB, free: 328 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.1157, allocations: 7.812 kB / 0.9375 GB, free: 324 kB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.1161, allocations: 51.69 kB / 0.9376 GB, free: 272 kB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.1162, allocations: 35.84 kB / 0.9376 GB, free: 236 kB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.1162, allocations: 0 / 0.9376 GB, free: 236 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.1163, allocations: 15.92 kB / 0.9376 GB, free: 220 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.1163, allocations: 4 kB / 0.9376 GB, free: 216 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1163, allocations: 0 / 0.9376 GB, free: 216 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 7.471e-05/0.1164, allocations: 23.92 kB / 0.9376 GB, free: 192 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.1164, allocations: 0 / 0.9376 GB, free: 192 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.1164, allocations: 11.92 kB / 0.9377 GB, free: 180 kB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.1165, allocations: 27.97 kB / 0.9377 GB, free: 152 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1165, allocations: 0 / 0.9377 GB, free: 152 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1165, allocations: 4 kB / 0.9377 GB, free: 148 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1165, allocations: 0 / 0.9377 GB, free: 148 kB / 0.8855 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.0003645/0.1169, allocations: 360.6 kB / 0.938 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.117, allocations: 8.031 kB / 0.938 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.117, allocations: 4.938 kB / 0.938 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.528e-05/0.1171, allocations: 112.5 kB / 0.9381 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-05/0.1171, allocations: 59.97 kB / 0.9382 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.1172, allocations: 384 / 0.9382 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.1173, allocations: 54.89 kB / 0.9383 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.1173, allocations: 192 / 0.9383 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1173, allocations: 4.375 kB / 0.9383 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1173, allocations: 4.125 kB / 0.9383 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.102e-05/0.1173, allocations: 4 kB / 0.9383 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.1174, allocations: 116.7 kB / 0.9384 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.165e-05/0.1175, allocations: 31.06 kB / 0.9384 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.1175, allocations: 11.69 kB / 0.9384 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.1176, allocations: 16.08 kB / 0.9384 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1176, allocations: 37.33 kB / 0.9385 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1176, allocations: 4 kB / 0.9385 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001321/0.1178, allocations: 45.69 kB / 0.9385 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.1178, allocations: 51.41 kB / 0.9386 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.1179, allocations: 165.9 kB / 0.9387 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.1179, allocations: 25.7 kB / 0.9387 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.1179, allocations: 126.9 kB / 0.9389 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.1179, allocations: 11.91 kB / 0.9389 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.1179, allocations: 27.31 kB / 0.9389 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1181, allocations: 492.1 kB / 0.9394 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.1181, allocations: 0 / 0.9394 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/0.1181, allocations: 15.92 kB / 0.9394 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.931e-05/0.1181, allocations: 20.16 kB / 0.9394 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1181, allocations: 0 / 0.9394 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.26e-05/0.1182, allocations: 45.67 kB / 0.9395 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1182, allocations: 8 kB / 0.9395 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1182, allocations: 0 / 0.9395 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1182, allocations: 0 / 0.9395 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.1182, allocations: 4 kB / 0.9395 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1183, allocations: 3.938 kB / 0.9395 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.1183, allocations: 4 kB / 0.9395 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1183, allocations: 4 kB / 0.9395 GB, free: 14.08 MB / 0.9011 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 6.073e-05/0.1183, allocations: 160.5 kB / 0.9396 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.1183, allocations: 7.953 kB / 0.9396 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.111e-05/0.1184, allocations: 49.38 kB / 0.9397 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.1184, allocations: 0 / 0.9397 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1184, allocations: 0 / 0.9397 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1184, allocations: 7.938 kB / 0.9397 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.89e-05/0.1185, allocations: 108.6 kB / 0.9398 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1185, allocations: 7.984 kB / 0.9398 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/0.1185, allocations: 4 kB / 0.9398 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1185, allocations: 4 kB / 0.9398 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.1185, allocations: 0 / 0.9398 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.1185, allocations: 0 / 0.9398 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.1185, allocations: 0 / 0.9398 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.925e-05/0.1186, allocations: 84.31 kB / 0.9399 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.1186, allocations: 8 kB / 0.9399 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-06/0.1186, allocations: 0 / 0.9399 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.1186, allocations: 3.984 kB / 0.9399 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.1187, allocations: 4 kB / 0.9399 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.1187, allocations: 0 / 0.9399 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.009e-05/0.1187, allocations: 131.1 kB / 0.94 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1187, allocations: 0 / 0.94 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001269/0.1188, allocations: 11.94 kB / 0.94 GB, free: 13.43 MB / 0.9011 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.0001196/0.1189, allocations: 115.1 kB / 0.9402 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 7.807e-05/0.119, allocations: 27.61 kB / 0.9402 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.119, allocations: 0 / 0.9402 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.119, allocations: 11.69 kB / 0.9402 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.1192, allocations: 19.91 kB / 0.9402 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.1197, allocations: 142.4 kB / 0.9403 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.022e-05/0.1197, allocations: 55.36 kB / 0.9404 GB, free: 13 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.176e-05/0.1198, allocations: 4 kB / 0.9404 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.1198, allocations: 12.5 kB / 0.9404 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of SimCode: time 4.91e-07/0.1198, allocations: 0 / 0.9404 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of Templates: time 0.002153/0.1219, allocations: 0.5564 MB / 0.941 GB, free: 12.44 MB / 0.9011 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.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: 5.497995623853058]