Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001137/0.001137, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00104/0.00104, allocations: 161 kB / 24.16 MB, free: 332 kB / 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 1.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.059 MB / 186.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.9/1.9, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.76 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.422e-05, allocations: 2.312 kB / 0.76 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.005329/0.005343, allocations: 1.597 MB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1171/0.1224, allocations: 127.2 MB / 0.8858 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.1225, allocations: 0 / 0.8858 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.1225, allocations: 3.938 kB / 0.8858 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.954e-05/0.1226, allocations: 19.86 kB / 0.8858 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1229, allocations: 63.61 kB / 0.8859 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.622e-05/0.123, allocations: 63.7 kB / 0.8859 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.435e-05/0.1231, allocations: 11.98 kB / 0.8859 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.1231, allocations: 23.98 kB / 0.886 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.01e-05/0.1232, allocations: 23.91 kB / 0.886 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1232, allocations: 4 kB / 0.886 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.164e-05/0.1233, allocations: 16 kB / 0.886 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.1233, allocations: 15.91 kB / 0.886 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/0.1233, allocations: 15.98 kB / 0.886 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.1234, allocations: 55.83 kB / 0.8861 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1234, allocations: 0 / 0.8861 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1234, allocations: 0 / 0.8861 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.1234, allocations: 0 / 0.8861 GB, free: 5.211 MB / 0.8386 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.0002956/0.1237, allocations: 268.7 kB / 0.8863 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1238, allocations: 15.97 kB / 0.8864 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.1238, allocations: 0.9375 kB / 0.8864 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.599e-05/0.1239, allocations: 113.8 kB / 0.8865 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.1239, allocations: 384 / 0.8865 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.1239, allocations: 4.375 kB / 0.8865 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.124, allocations: 74.91 kB / 0.8865 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.124, allocations: 192 / 0.8865 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.124, allocations: 4.375 kB / 0.8866 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.124, allocations: 384 / 0.8866 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/0.1241, allocations: 11.88 kB / 0.8866 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002227/0.1243, allocations: 168.2 kB / 0.8867 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.1243, allocations: 26.58 kB / 0.8867 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.1243, allocations: 8.859 kB / 0.8868 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-05/0.1244, allocations: 16.08 kB / 0.8868 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1245, allocations: 38.5 kB / 0.8868 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1245, allocations: 0 / 0.8868 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001112/0.1246, allocations: 41.62 kB / 0.8868 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.1246, allocations: 55.41 kB / 0.8869 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.881e-05/0.1247, allocations: 114.8 kB / 0.887 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.1247, allocations: 25.7 kB / 0.887 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/0.1247, allocations: 96.06 kB / 0.8871 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.1247, allocations: 7.891 kB / 0.8871 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.1247, allocations: 13.72 kB / 0.8871 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.875e-05/0.1248, allocations: 322.8 kB / 0.8875 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.1248, allocations: 8 kB / 0.8875 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.1248, allocations: 8.125 kB / 0.8875 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.1249, allocations: 16.92 kB / 0.8875 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1249, allocations: 0 / 0.8875 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.104e-05/0.1249, allocations: 41.69 kB / 0.8875 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1249, allocations: 6.344 kB / 0.8875 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1249, allocations: 3.938 kB / 0.8875 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1249, allocations: 0 / 0.8875 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.125, allocations: 8 kB / 0.8875 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.125, allocations: 4 kB / 0.8875 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.125, allocations: 7.984 kB / 0.8876 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.125, allocations: 7.938 kB / 0.8876 GB, free: 3.543 MB / 0.8386 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.167e-05/0.1251, allocations: 109.8 kB / 0.8877 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.1251, allocations: 4 kB / 0.8877 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.459e-05/0.1252, allocations: 53.61 kB / 0.8877 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1252, allocations: 0 / 0.8877 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.1252, allocations: 0 / 0.8877 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1252, allocations: 0 / 0.8877 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.128e-05/0.1252, allocations: 73.88 kB / 0.8878 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1252, allocations: 4 kB / 0.8878 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.1253, allocations: 15.98 kB / 0.8878 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.1253, allocations: 0 / 0.8878 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-06/0.1253, allocations: 0 / 0.8878 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1253, allocations: 8 kB / 0.8878 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1253, allocations: 3.938 kB / 0.8878 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.493e-05/0.1254, allocations: 135.5 kB / 0.888 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.1254, allocations: 3.953 kB / 0.888 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-06/0.1254, allocations: 0 / 0.888 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.1254, allocations: 7.984 kB / 0.888 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.1254, allocations: 19.92 kB / 0.888 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1255, allocations: 0 / 0.888 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.085e-05/0.1255, allocations: 8.859 kB / 0.888 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.1255, allocations: 4 kB / 0.888 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001283/0.1256, allocations: 15.94 kB / 0.888 GB, free: 3.031 MB / 0.8386 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.0001152/0.1257, allocations: 92.33 kB / 0.8881 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.718e-05/0.1258, allocations: 20.78 kB / 0.8881 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1258, allocations: 0 / 0.8881 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.796e-05/0.1258, allocations: 12.86 kB / 0.8881 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.1259, allocations: 12 kB / 0.8881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.1262, allocations: 160.6 kB / 0.8883 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.1262, allocations: 55.34 kB / 0.8883 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.1262, allocations: 8 kB / 0.8884 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.1263, allocations: 63.36 kB / 0.8884 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/0.1263, allocations: 0 / 0.8884 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of Templates: time 0.002382/0.1286, allocations: 0.9924 MB / 0.8894 GB, free: 1.586 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_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.1736204898916185]