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.0009515/0.0009515, allocations: 80.92 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.001009/0.001009, allocations: 161 kB / 24.17 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 0.9877/0.9877, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.91/1.91, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.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.333e-06/1.333e-06, allocations: 0 / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.916e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00234/0.002359, allocations: 1.384 MB / 0.7614 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1257/0.128, allocations: 127.1 MB / 0.8856 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.496e-05/0.1281, allocations: 0 / 0.8856 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.1281, allocations: 0 / 0.8856 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/0.1282, allocations: 3.938 kB / 0.8856 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.1285, allocations: 63.59 kB / 0.8856 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.453e-05/0.1285, allocations: 23.86 kB / 0.8856 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.1286, allocations: 8 kB / 0.8857 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.176e-05/0.1286, allocations: 11.98 kB / 0.8857 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.1287, allocations: 4 kB / 0.8857 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1287, allocations: 4 kB / 0.8857 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.582e-05/0.1288, allocations: 23.91 kB / 0.8857 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.1288, allocations: 4 kB / 0.8857 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.363e-05/0.1288, allocations: 4 kB / 0.8857 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.191e-05/0.1289, allocations: 27.91 kB / 0.8857 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1289, allocations: 0 / 0.8857 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.021e-06/0.1289, allocations: 0 / 0.8857 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.1289, allocations: 0 / 0.8857 GB, free: 5.629 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002752/0.1292, allocations: 233 kB / 0.886 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1292, allocations: 8.031 kB / 0.886 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.1293, allocations: 8.875 kB / 0.886 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.925e-05/0.1293, allocations: 125.6 kB / 0.8861 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.287e-05/0.1294, allocations: 55.97 kB / 0.8861 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-06/0.1294, allocations: 384 / 0.8861 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.973e-05/0.1295, allocations: 46.95 kB / 0.8862 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.1295, allocations: 192 / 0.8862 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.1295, allocations: 384 / 0.8862 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1295, allocations: 8.125 kB / 0.8862 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.435e-05/0.1295, allocations: 4 kB / 0.8862 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.64e-05/0.1296, allocations: 61.05 kB / 0.8863 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.106e-05/0.1297, allocations: 34.53 kB / 0.8863 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.1297, allocations: 8.859 kB / 0.8863 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.169e-05/0.1298, allocations: 12.08 kB / 0.8863 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.1298, allocations: 30.56 kB / 0.8863 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1298, allocations: 4 kB / 0.8863 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 9.811e-05/0.1299, allocations: 45.62 kB / 0.8864 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.1299, allocations: 51.41 kB / 0.8864 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.517e-05/0.13, allocations: 106.7 kB / 0.8865 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.13, allocations: 25.7 kB / 0.8866 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.047e-05/0.13, allocations: 80.14 kB / 0.8866 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.13, allocations: 7.953 kB / 0.8866 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.1301, allocations: 17.7 kB / 0.8867 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.1301, allocations: 318.8 kB / 0.887 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.1301, allocations: 0 / 0.887 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-06/0.1302, allocations: 4 kB / 0.887 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.1302, allocations: 20.84 kB / 0.887 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1302, allocations: 0 / 0.887 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.052e-05/0.1302, allocations: 45.62 kB / 0.887 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.1302, allocations: 4 kB / 0.887 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1302, allocations: 0 / 0.887 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1303, allocations: 0 / 0.887 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.815e-05/0.1303, allocations: 12 kB / 0.8871 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.1303, allocations: 0 / 0.8871 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.1303, allocations: 3.953 kB / 0.8871 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1303, allocations: 3.938 kB / 0.8871 GB, free: 4.098 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.446e-05/0.1304, allocations: 117.8 kB / 0.8872 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-06/0.1304, allocations: 0 / 0.8872 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.627e-05/0.1305, allocations: 49.31 kB / 0.8872 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1305, allocations: 0 / 0.8872 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.1305, allocations: 3.938 kB / 0.8872 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1305, allocations: 0 / 0.8872 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.82e-05/0.1305, allocations: 65.84 kB / 0.8873 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1305, allocations: 3.984 kB / 0.8873 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.1306, allocations: 8 kB / 0.8873 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1306, allocations: 0 / 0.8873 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-06/0.1306, allocations: 0.5625 kB / 0.8873 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.1306, allocations: 4 kB / 0.8873 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1306, allocations: 0 / 0.8873 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.851e-05/0.1306, allocations: 73.03 kB / 0.8874 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.1306, allocations: 7.938 kB / 0.8874 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.1307, allocations: 4 kB / 0.8874 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.371e-05/0.1307, allocations: 3.984 kB / 0.8874 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.1307, allocations: 0 / 0.8874 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.1307, allocations: 0 / 0.8874 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.065e-05/0.1307, allocations: 12.8 kB / 0.8874 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.1307, allocations: 0 / 0.8874 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001487/0.1309, allocations: 12 kB / 0.8874 GB, free: 3.688 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.0001245/0.131, allocations: 92.34 kB / 0.8875 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.487e-05/0.131, allocations: 20.84 kB / 0.8875 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.131, allocations: 0 / 0.8875 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.558e-05/0.1311, allocations: 8.859 kB / 0.8875 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.768e-05/0.1311, allocations: 8.797 kB / 0.8875 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.1317, allocations: 160.5 kB / 0.8877 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.646e-05/0.1317, allocations: 51.36 kB / 0.8877 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.913e-05/0.1317, allocations: 8 kB / 0.8877 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.1318, allocations: 55.36 kB / 0.8878 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/0.1318, allocations: 0 / 0.8878 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of Templates: time 0.002347/0.1341, allocations: 0.5936 MB / 0.8884 GB, free: 2.641 MB / 0.8386 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 -s gbode -gbm=radauIIA3 -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.291937480214983]