Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001269/0.001269, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00176/0.00176, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 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.9847/0.9847, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.218/2.218, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.868e-05, allocations: 5.672 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00246/0.002489, allocations: 1.709 MB / 0.8799 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.003897, allocations: 1.399 MB / 0.8812 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.003968, allocations: 4 kB / 0.8812 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.004196, allocations: 31.72 kB / 0.8813 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.004548, allocations: 111.3 kB / 0.8814 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.004829, allocations: 136.5 kB / 0.8815 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.005085, allocations: 261.4 kB / 0.8818 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.005203, allocations: 9.031 kB / 0.8818 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.005325, allocations: 115.8 kB / 0.8819 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.005488, allocations: 83.81 kB / 0.882 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.005517, allocations: 21.12 kB / 0.882 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.005687, allocations: 119.8 kB / 0.8821 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-05/0.005772, allocations: 91.78 kB / 0.8822 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.75e-05/0.00584, allocations: 64.83 kB / 0.8822 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.006156, allocations: 298.9 kB / 0.8825 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.006158, allocations: 1.031 kB / 0.8825 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.412e-06/0.00616, allocations: 0 / 0.8825 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.006165, allocations: 4 kB / 0.8825 GB, free: 2.223 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006358/0.006801, allocations: 0.5829 MB / 0.8831 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.006841, allocations: 9.25 kB / 0.8831 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.006964, allocations: 44.75 kB / 0.8832 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.007224, allocations: 215.6 kB / 0.8834 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.007243, allocations: 16.7 kB / 0.8834 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.007267, allocations: 16.97 kB / 0.8834 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.007538, allocations: 282.9 kB / 0.8837 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.007546, allocations: 192 / 0.8837 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.007565, allocations: 8.125 kB / 0.8837 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.007574, allocations: 4 kB / 0.8837 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/0.008059, allocations: 0.6329 MB / 0.8843 GB, free: 328 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.008702, allocations: 0.4923 MB / 0.8848 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.008972, allocations: 181.9 kB / 0.8849 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.018e-05/0.009052, allocations: 60.22 kB / 0.885 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.009089, allocations: 20.27 kB / 0.885 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.009277, allocations: 139.3 kB / 0.8852 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=35): time 2.304e-06/0.009279, allocations: 1.062 kB / 0.8852 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35): time 0.0005146/0.009794, allocations: 275.1 kB / 0.8854 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.009869, allocations: 136.5 kB / 0.8855 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.01027, allocations: 311.9 kB / 0.8858 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.0103, allocations: 29.7 kB / 0.8859 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.01039, allocations: 175.5 kB / 0.886 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.01049, allocations: 123 kB / 0.8862 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.279e-05/0.01058, allocations: 75.34 kB / 0.8862 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.01073, allocations: 0.5118 MB / 0.8867 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.01084, allocations: 43.95 kB / 0.8868 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.01101, allocations: 185.6 kB / 0.8869 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.01119, allocations: 139.7 kB / 0.8871 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.01119, allocations: 0.7812 kB / 0.8871 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002685/0.01146, allocations: 221.2 kB / 0.8873 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.01147, allocations: 8.594 kB / 0.8873 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01148, allocations: 3.938 kB / 0.8873 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.01149, allocations: 1.438 kB / 0.8873 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.01165, allocations: 63.91 kB / 0.8874 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.01166, allocations: 3.984 kB / 0.8874 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.862e-05/0.01174, allocations: 27.89 kB / 0.8874 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.01176, allocations: 8 kB / 0.8874 GB, free: 12.95 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: 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.894e-05/0.01185, allocations: 184.4 kB / 0.8876 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.0119, allocations: 39.81 kB / 0.8876 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000482/0.01238, allocations: 304.7 kB / 0.8879 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.01238, allocations: 4 kB / 0.8879 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01239, allocations: 0 / 0.8879 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01239, allocations: 3.984 kB / 0.8879 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.01258, allocations: 228.3 kB / 0.8881 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01258, allocations: 4 kB / 0.8881 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.01269, allocations: 59.91 kB / 0.8882 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01269, allocations: 0 / 0.8882 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.01271, allocations: 15.98 kB / 0.8882 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01271, allocations: 4 kB / 0.8882 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01271, allocations: 0 / 0.8882 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.01299, allocations: 269.9 kB / 0.8885 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.01308, allocations: 79.66 kB / 0.8885 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.01311, allocations: 8 kB / 0.8886 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.01317, allocations: 15.98 kB / 0.8886 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.01322, allocations: 23.95 kB / 0.8886 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.01324, allocations: 11.94 kB / 0.8886 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001186/0.01336, allocations: 221.1 kB / 0.8888 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01336, allocations: 4 kB / 0.8888 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002307/0.01359, allocations: 79.86 kB / 0.8889 GB, free: 11.34 MB / 0.8542 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.0009998/0.01459, allocations: 444.4 kB / 0.8893 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.01484, allocations: 175.3 kB / 0.8895 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01484, allocations: 0 / 0.8895 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.01495, allocations: 99.42 kB / 0.8896 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.01515, allocations: 53.16 kB / 0.8896 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.0159, allocations: 436.7 kB / 0.89 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.812e-05/0.01596, allocations: 93.81 kB / 0.8901 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.01615, allocations: 142.8 kB / 0.8903 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.01622, allocations: 44.48 kB / 0.8903 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of SimCode: time 1.163e-06/0.01622, allocations: 0 / 0.8903 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.005764/0.02198, allocations: 3.457 MB / 0.8937 GB, free: 6.559 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.575806234031916]