Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.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.00128/0.00128, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.006762/0.006762, allocations: 165 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 1.063/1.063, 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.937/1.937, allocations: 377.9 MB / 0.624 GB, free: 8.34 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.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.405e-05, allocations: 9.203 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.00183/0.001844, allocations: 1.37 MB / 0.7613 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.118/0.1198, allocations: 132.8 MB / 0.8911 GB, free: 128 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.1198, allocations: 0 / 0.8911 GB, free: 128 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.1199, allocations: 0 / 0.8911 GB, free: 128 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.951e-05/0.1199, allocations: 11.92 kB / 0.8911 GB, free: 116 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009491/0.1209, allocations: 430.1 kB / 0.8915 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.013e-05/0.1209, allocations: 47.83 kB / 0.8915 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.121, allocations: 4 kB / 0.8915 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.609e-05/0.121, allocations: 31.95 kB / 0.8916 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.1211, allocations: 15.92 kB / 0.8916 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1211, allocations: 0 / 0.8916 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.1221, allocations: 0.8504 MB / 0.8924 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.1221, allocations: 4 kB / 0.8924 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.1222, allocations: 15.97 kB / 0.8924 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.1226, allocations: 0.5613 MB / 0.893 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1226, allocations: 3.984 kB / 0.893 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1227, allocations: 0 / 0.893 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1227, allocations: 0 / 0.893 GB, free: 14.16 MB / 0.8542 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.0003198/0.123, allocations: 272.4 kB / 0.8932 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.123, allocations: 8.031 kB / 0.8933 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.1232, allocations: 28.8 kB / 0.8933 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.764e-05/0.1232, allocations: 106.1 kB / 0.8934 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1232, allocations: 8.375 kB / 0.8934 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.1232, allocations: 8.328 kB / 0.8934 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1234, allocations: 127.3 kB / 0.8935 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1234, allocations: 3.938 kB / 0.8935 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1234, allocations: 0 / 0.8935 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.1234, allocations: 4 kB / 0.8935 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.125e-05/0.1234, allocations: 15.98 kB / 0.8935 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.897e-05/0.1235, allocations: 69.02 kB / 0.8936 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.234e-05/0.1236, allocations: 42.5 kB / 0.8937 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.266e-05/0.1236, allocations: 8.859 kB / 0.8937 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00461/0.1282, allocations: 2.458 MB / 0.8961 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.1282, allocations: 34.56 kB / 0.8961 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.1282, allocations: 0 / 0.8961 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.01466/0.1429, allocations: 6.337 MB / 0.9023 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.1429, allocations: 55.41 kB / 0.9023 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.778e-05/0.1429, allocations: 98.7 kB / 0.9024 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.143, allocations: 33.7 kB / 0.9025 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.866e-05/0.143, allocations: 80.14 kB / 0.9025 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.143, allocations: 35.69 kB / 0.9026 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.143, allocations: 33.62 kB / 0.9026 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.1431, allocations: 322.8 kB / 0.9029 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.1431, allocations: 11.98 kB / 0.9029 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.258e-05/0.1432, allocations: 15 kB / 0.9029 GB, free: 3.68 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.675e-05/0.1432, allocations: 40.77 kB / 0.903 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1432, allocations: 0 / 0.903 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001179/0.1433, allocations: 81.56 kB / 0.9031 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1433, allocations: 8 kB / 0.9031 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1433, allocations: 3.938 kB / 0.9031 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1434, allocations: 0 / 0.9031 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.1434, allocations: 27.98 kB / 0.9031 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1434, allocations: 8 kB / 0.9031 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.1434, allocations: 4 kB / 0.9031 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1435, allocations: 0 / 0.9031 GB, free: 3.5 MB / 0.8542 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 (14): * Single equations (assignments): 14 * 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.362e-05/0.1435, allocations: 121.8 kB / 0.9032 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.1435, allocations: 15.92 kB / 0.9032 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.1437, allocations: 97.44 kB / 0.9033 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1437, allocations: 0 / 0.9033 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1437, allocations: 0 / 0.9033 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.1437, allocations: 0 / 0.9033 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.818e-05/0.1437, allocations: 81.83 kB / 0.9034 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1437, allocations: 3.938 kB / 0.9034 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.1438, allocations: 31.98 kB / 0.9034 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1438, allocations: 0 / 0.9034 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1438, allocations: 4 kB / 0.9034 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1438, allocations: 0 / 0.9034 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1438, allocations: 3.938 kB / 0.9034 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.144, allocations: 117.2 kB / 0.9036 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.144, allocations: 11.94 kB / 0.9036 GB, free: 2.969 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-06/0.144, allocations: 4 kB / 0.9036 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.1441, allocations: 19.92 kB / 0.9036 GB, free: 2.945 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.1441, allocations: 11.92 kB / 0.9036 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.1441, allocations: 4 kB / 0.9036 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.135e-06/0.1441, allocations: 8.859 kB / 0.9036 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1441, allocations: 0 / 0.9036 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001062/0.1452, allocations: 0.5582 MB / 0.9042 GB, free: 2.359 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.001902/0.1471, allocations: 387.9 kB / 0.9045 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.37e-05/0.1471, allocations: 60.39 kB / 0.9046 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1472, allocations: 4 kB / 0.9046 GB, free: 1.91 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-05/0.1472, allocations: 24.84 kB / 0.9046 GB, free: 1.883 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.1473, allocations: 15.98 kB / 0.9046 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.1477, allocations: 239.5 kB / 0.9049 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.098e-05/0.1478, allocations: 67.2 kB / 0.9049 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.582e-05/0.1478, allocations: 24.59 kB / 0.9049 GB, free: 1.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.1479, allocations: 71.36 kB / 0.905 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.1479, allocations: 0 / 0.905 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of Templates: time 0.02856/0.1764, allocations: 25.85 MB / 0.9303 GB, free: 7.57 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamDerivativeCheck.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.750599198043346]