Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.0009055/0.0009055, 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.001005/0.001005, 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.9944/0.9944, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.85/1.85, allocations: 377.9 MB / 0.624 GB, free: 8.367 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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.821e-05, allocations: 2.312 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003666/0.003694, allocations: 1.715 MB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.005202, allocations: 1.418 MB / 0.7631 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.005261, allocations: 4 kB / 0.7631 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.005475, allocations: 29.38 kB / 0.7631 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.005826, allocations: 121.7 kB / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.006087, allocations: 136.2 kB / 0.7634 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.006314, allocations: 256.7 kB / 0.7636 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.587e-05/0.00639, allocations: 15.97 kB / 0.7636 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02691/0.0333, allocations: 10.48 MB / 0.7739 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.0334, allocations: 73.2 kB / 0.7739 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.03343, allocations: 20 kB / 0.7739 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.03354, allocations: 59.91 kB / 0.774 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.03361, allocations: 90.5 kB / 0.7741 GB, free: 12 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.03367, allocations: 63.81 kB / 0.7742 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.03394, allocations: 239 kB / 0.7744 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.03394, allocations: 0 / 0.7744 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.413e-06/0.03394, allocations: 0 / 0.7744 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.03394, allocations: 0 / 0.7744 GB, free: 11.71 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004528/0.0344, allocations: 448.6 kB / 0.7748 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.692e-05/0.03442, allocations: 11.72 kB / 0.7748 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.03447, allocations: 28.92 kB / 0.7748 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.03469, allocations: 240.7 kB / 0.7751 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.0347, allocations: 12.7 kB / 0.7751 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.03473, allocations: 16.38 kB / 0.7751 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.0349, allocations: 223.6 kB / 0.7753 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.03491, allocations: 192 / 0.7753 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.03492, allocations: 16.12 kB / 0.7753 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.03493, allocations: 4 kB / 0.7753 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.03532, allocations: 487.2 kB / 0.7758 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.03586, allocations: 335.8 kB / 0.7761 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.03608, allocations: 131.7 kB / 0.7762 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.321e-05/0.03615, allocations: 41.88 kB / 0.7763 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.03618, allocations: 25.7 kB / 0.7763 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.03634, allocations: 120.9 kB / 0.7764 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=35): time 1.844e-06/0.03635, allocations: 0 / 0.7764 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35): time 0.0002745/0.03662, allocations: 179.4 kB / 0.7766 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.03668, allocations: 111.7 kB / 0.7767 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.03681, allocations: 201.1 kB / 0.7769 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.03684, allocations: 33.7 kB / 0.7769 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.03689, allocations: 109.7 kB / 0.777 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.03696, allocations: 119.6 kB / 0.7771 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/0.03704, allocations: 65.66 kB / 0.7772 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.03713, allocations: 335.4 kB / 0.7775 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/0.03718, allocations: 29.05 kB / 0.7776 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.875e-05/0.03728, allocations: 121.9 kB / 0.7777 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.03742, allocations: 109.3 kB / 0.7778 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.03742, allocations: 0.625 kB / 0.7778 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002006/0.03762, allocations: 149.2 kB / 0.7779 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.03763, allocations: 5.969 kB / 0.7779 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.03764, allocations: 0 / 0.7779 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.03765, allocations: 0 / 0.7779 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.03783, allocations: 63.91 kB / 0.778 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.03783, allocations: 0 / 0.778 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.03791, allocations: 37.48 kB / 0.778 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.03793, allocations: 8 kB / 0.778 GB, free: 7.766 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 9.085e-05/0.03802, allocations: 128.6 kB / 0.7782 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.03806, allocations: 33.09 kB / 0.7782 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.03839, allocations: 223.7 kB / 0.7784 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.03839, allocations: 5 kB / 0.7784 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.03839, allocations: 0 / 0.7784 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.0384, allocations: 0 / 0.7784 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.03857, allocations: 162.2 kB / 0.7786 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.03857, allocations: 0 / 0.7786 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.03871, allocations: 56.59 kB / 0.7786 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.03871, allocations: 0 / 0.7786 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.03872, allocations: 13.06 kB / 0.7786 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.03872, allocations: 0 / 0.7786 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.03872, allocations: 0 / 0.7786 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.03892, allocations: 175.7 kB / 0.7788 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.03899, allocations: 55.7 kB / 0.7788 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.03903, allocations: 17 kB / 0.7789 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.55e-05/0.03909, allocations: 15.98 kB / 0.7789 GB, free: 6.852 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.03914, allocations: 23.81 kB / 0.7789 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.03916, allocations: 9.031 kB / 0.7789 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.157e-05/0.03922, allocations: 66.78 kB / 0.779 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.03922, allocations: 0 / 0.779 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002166/0.03944, allocations: 53.25 kB / 0.779 GB, free: 6.703 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001065/0.0405, allocations: 449.7 kB / 0.7795 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.04072, allocations: 118.5 kB / 0.7796 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.04073, allocations: 4 kB / 0.7796 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.04082, allocations: 84.53 kB / 0.7796 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.04095, allocations: 36.42 kB / 0.7797 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/0.04159, allocations: 413.2 kB / 0.7801 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.841e-05/0.04165, allocations: 97.81 kB / 0.7802 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001525/0.0418, allocations: 83.67 kB / 0.7803 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.04196, allocations: 109.3 kB / 0.7804 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.04196, allocations: 0 / 0.7804 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.005777/0.04774, allocations: 3.141 MB / 0.7834 GB, free: 2.445 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.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.100777075625956]