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.0009093/0.0009093, 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.0009418/0.0009418, allocations: 161 kB / 24.17 MB, free: 328 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.9325/0.9325, allocations: 177.2 MB / 204.6 MB, free: 5.457 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.874/1.874, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.643e-06/1.643e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.852e-05, allocations: 6.312 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001781/0.001809, allocations: 1.331 MB / 0.7613 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1238/0.1256, allocations: 127.1 MB / 0.8855 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.1256, allocations: 0 / 0.8855 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.1257, allocations: 0 / 0.8855 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.811e-05/0.1257, allocations: 7.922 kB / 0.8855 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.126, allocations: 67.61 kB / 0.8855 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.586e-05/0.1261, allocations: 23.86 kB / 0.8856 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.197e-05/0.1261, allocations: 4 kB / 0.8856 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.331e-05/0.1262, allocations: 7.984 kB / 0.8856 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.1262, allocations: 11.92 kB / 0.8856 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1262, allocations: 4 kB / 0.8856 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.571e-05/0.1263, allocations: 15.98 kB / 0.8856 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.1263, allocations: 4 kB / 0.8856 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.517e-05/0.1263, allocations: 7.984 kB / 0.8856 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.833e-05/0.1264, allocations: 31.86 kB / 0.8856 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1264, allocations: 0 / 0.8856 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1264, allocations: 0 / 0.8856 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.1264, allocations: 0 / 0.8856 GB, free: 5.699 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.0002633/0.1267, allocations: 229 kB / 0.8859 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.1267, allocations: 8.031 kB / 0.8859 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.1268, allocations: 12.92 kB / 0.8859 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.225e-05/0.1268, allocations: 117.6 kB / 0.886 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.333e-05/0.1269, allocations: 55.97 kB / 0.886 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.1269, allocations: 384 / 0.886 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.94e-05/0.127, allocations: 46.95 kB / 0.8861 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.127, allocations: 4.188 kB / 0.8861 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.127, allocations: 384 / 0.8861 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.127, allocations: 8.125 kB / 0.8861 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.276e-05/0.127, allocations: 0 / 0.8861 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.804e-05/0.1271, allocations: 65.03 kB / 0.8862 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.189e-05/0.1272, allocations: 30.5 kB / 0.8862 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.257e-05/0.1272, allocations: 12.84 kB / 0.8862 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.332e-05/0.1273, allocations: 16.12 kB / 0.8862 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.1273, allocations: 30.56 kB / 0.8863 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1273, allocations: 0 / 0.8863 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 9.331e-05/0.1274, allocations: 45.69 kB / 0.8863 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.1274, allocations: 55.34 kB / 0.8863 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.427e-05/0.1274, allocations: 98.72 kB / 0.8864 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.1274, allocations: 25.7 kB / 0.8865 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.931e-05/0.1275, allocations: 84.12 kB / 0.8865 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.1275, allocations: 7.953 kB / 0.8866 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.1275, allocations: 17.7 kB / 0.8866 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.1276, allocations: 314.8 kB / 0.8869 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-06/0.1276, allocations: 4 kB / 0.8869 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-06/0.1276, allocations: 4 kB / 0.8869 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.1276, allocations: 20.84 kB / 0.8869 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1276, allocations: 0 / 0.8869 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.225e-05/0.1277, allocations: 41.62 kB / 0.8869 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.1277, allocations: 4 kB / 0.8869 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1277, allocations: 3.938 kB / 0.8869 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.1277, allocations: 0 / 0.8869 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.809e-05/0.1277, allocations: 4 kB / 0.887 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.1277, allocations: 8 kB / 0.887 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.1277, allocations: 7.938 kB / 0.887 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.1277, allocations: 3.938 kB / 0.887 GB, free: 4.168 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.386e-05/0.1278, allocations: 105.8 kB / 0.8871 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-06/0.1278, allocations: 4 kB / 0.8871 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.924e-05/0.1279, allocations: 45.38 kB / 0.8871 GB, free: 4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.1279, allocations: 0 / 0.8871 GB, free: 4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.1279, allocations: 0 / 0.8871 GB, free: 4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1279, allocations: 0 / 0.8871 GB, free: 4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.521e-05/0.1279, allocations: 69.83 kB / 0.8872 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1279, allocations: 7.938 kB / 0.8872 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.1279, allocations: 4 kB / 0.8872 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1279, allocations: 8.562 kB / 0.8872 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-06/0.1279, allocations: 0 / 0.8872 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1279, allocations: 0 / 0.8872 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1279, allocations: 0 / 0.8872 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.008e-05/0.128, allocations: 77.03 kB / 0.8873 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.128, allocations: 11.92 kB / 0.8873 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.934e-06/0.128, allocations: 0 / 0.8873 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-06/0.128, allocations: 4 kB / 0.8873 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.1281, allocations: 0 / 0.8873 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.1281, allocations: 4 kB / 0.8873 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.093e-05/0.1281, allocations: 12.84 kB / 0.8873 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.1281, allocations: 0 / 0.8873 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001032/0.1282, allocations: 8 kB / 0.8873 GB, free: 3.758 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.0001161/0.1283, allocations: 88.3 kB / 0.8874 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.622e-05/0.1283, allocations: 20.84 kB / 0.8874 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1283, allocations: 4 kB / 0.8874 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.29e-05/0.1284, allocations: 8.859 kB / 0.8874 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.493e-05/0.1285, allocations: 16.86 kB / 0.8874 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.1289, allocations: 144.5 kB / 0.8876 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.419e-05/0.1289, allocations: 55.36 kB / 0.8876 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.129, allocations: 11.94 kB / 0.8877 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.129, allocations: 55.36 kB / 0.8877 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of SimCode: time 4.7e-07/0.129, allocations: 0 / 0.8877 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of Templates: time 0.001958/0.131, allocations: 0.5919 MB / 0.8883 GB, free: 2.715 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 -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: 4.8974412539973855]