Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001013/0.001013, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001006/0.001006, allocations: 185 kB / 24.09 MB, free: 416 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.9564/0.9564, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.729/1.729, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.351e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00217/0.002193, allocations: 1.692 MB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.003484, allocations: 1.402 MB / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/0.003549, allocations: 5.219 kB / 0.7906 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.003745, allocations: 27.72 kB / 0.7906 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.004076, allocations: 120.2 kB / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.004333, allocations: 136.5 kB / 0.7909 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.004551, allocations: 249.5 kB / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.563e-05/0.004626, allocations: 16.48 kB / 0.7911 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02572/0.03034, allocations: 10.45 MB / 0.8013 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.0305, allocations: 83.81 kB / 0.8014 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.03053, allocations: 16 kB / 0.8014 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.03066, allocations: 59.92 kB / 0.8015 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.845e-05/0.03074, allocations: 79.73 kB / 0.8016 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.0308, allocations: 67.81 kB / 0.8016 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.03113, allocations: 235 kB / 0.8019 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.03113, allocations: 0 / 0.8019 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.413e-06/0.03113, allocations: 0.9375 kB / 0.8019 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.03114, allocations: 0 / 0.8019 GB, free: 1.254 MB / 0.7448 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.0005648/0.0317, allocations: 0.5795 MB / 0.8024 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.03174, allocations: 8.031 kB / 0.8024 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.0318, allocations: 36.8 kB / 0.8025 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.03203, allocations: 251.3 kB / 0.8027 GB, free: 332 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.03205, allocations: 16.7 kB / 0.8027 GB, free: 316 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.03207, allocations: 20.36 kB / 0.8027 GB, free: 296 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.03226, allocations: 233.1 kB / 0.803 GB, free: 32 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.03227, allocations: 192 / 0.803 GB, free: 32 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.03229, allocations: 12.12 kB / 0.803 GB, free: 20 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.03229, allocations: 8 kB / 0.803 GB, free: 12 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.03277, allocations: 0.5657 MB / 0.8035 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.0333, allocations: 456.2 kB / 0.804 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.03349, allocations: 165.3 kB / 0.8041 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.03354, allocations: 60.16 kB / 0.8042 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.03359, allocations: 32.06 kB / 0.8042 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.03373, allocations: 137.9 kB / 0.8043 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.03374, allocations: 0 / 0.8043 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of matching and sorting (n=35): time 0.0002896/0.03403, allocations: 240 kB / 0.8046 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.03407, allocations: 106.8 kB / 0.8047 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.03421, allocations: 280.2 kB / 0.8049 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.03423, allocations: 29.7 kB / 0.805 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.03437, allocations: 179.4 kB / 0.8051 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.03444, allocations: 123 kB / 0.8053 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.0345, allocations: 75.31 kB / 0.8053 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.03463, allocations: 0.5157 MB / 0.8058 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-05/0.03467, allocations: 31.97 kB / 0.8059 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.002e-05/0.03476, allocations: 138.3 kB / 0.806 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.03488, allocations: 125.2 kB / 0.8061 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.03489, allocations: 4.031 kB / 0.8061 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001933/0.03508, allocations: 201.1 kB / 0.8063 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.03509, allocations: 4 kB / 0.8063 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.0351, allocations: 0 / 0.8063 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.03511, allocations: 4 kB / 0.8063 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.03524, allocations: 67.89 kB / 0.8064 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.03525, allocations: 7.984 kB / 0.8064 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.03531, allocations: 23.84 kB / 0.8064 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.03533, allocations: 11.98 kB / 0.8064 GB, free: 12.31 MB / 0.7605 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.077e-05/0.03542, allocations: 184.4 kB / 0.8066 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.03546, allocations: 43.73 kB / 0.8066 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.03578, allocations: 293 kB / 0.8069 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.03578, allocations: 4 kB / 0.8069 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.03578, allocations: 0 / 0.8069 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.03579, allocations: 3.984 kB / 0.8069 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.03593, allocations: 189 kB / 0.8071 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.03594, allocations: 0 / 0.8071 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.67e-05/0.03603, allocations: 59.91 kB / 0.8072 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.03604, allocations: 3.938 kB / 0.8072 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.03605, allocations: 11.98 kB / 0.8072 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.03605, allocations: 4 kB / 0.8072 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.03605, allocations: 0 / 0.8072 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.03627, allocations: 257.2 kB / 0.8074 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.03633, allocations: 63.72 kB / 0.8075 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.03635, allocations: 15.94 kB / 0.8075 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.03641, allocations: 15.98 kB / 0.8075 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.03645, allocations: 19.95 kB / 0.8075 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.03646, allocations: 15.98 kB / 0.8076 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.132e-05/0.03654, allocations: 181.1 kB / 0.8077 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.03654, allocations: 3.938 kB / 0.8077 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001788/0.03672, allocations: 52 kB / 0.8078 GB, free: 10.85 MB / 0.7605 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.0007334/0.03745, allocations: 344.8 kB / 0.8081 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.03764, allocations: 152 kB / 0.8083 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.03765, allocations: 0 / 0.8083 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.03773, allocations: 95.41 kB / 0.8083 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.0379, allocations: 48.42 kB / 0.8084 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007372/0.03864, allocations: 424.7 kB / 0.8088 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.929e-05/0.03868, allocations: 93.81 kB / 0.8089 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.0388, allocations: 78.95 kB / 0.809 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.03894, allocations: 150.1 kB / 0.8091 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.03894, allocations: 0 / 0.8091 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of Templates: time 0.004694/0.04364, allocations: 3.096 MB / 0.8121 GB, free: 6.469 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.883252183906734]