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.000932/0.000932, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0009894/0.0009894, allocations: 169 kB / 23.02 MB, free: 1.551 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.9219/0.9219, allocations: 177.1 MB / 203.4 MB, free: 5.605 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.02/2.02, allocations: 429.5 MB / 0.6733 GB, free: 4.043 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 2.315e-06/2.315e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.398e-05/3.63e-05, allocations: 6.922 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00326/0.003296, allocations: 1.717 MB / 0.8799 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.005245, allocations: 1.406 MB / 0.8812 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.516e-05/0.00533, allocations: 0 / 0.8812 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.0056, allocations: 28.5 kB / 0.8813 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006162/0.006216, allocations: 129.5 kB / 0.8814 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.006604, allocations: 135.5 kB / 0.8815 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.006918, allocations: 253.5 kB / 0.8818 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.007026, allocations: 4 kB / 0.8818 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03048/0.03751, allocations: 9.698 MB / 0.8912 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.03765, allocations: 75.77 kB / 0.8913 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.03769, allocations: 16 kB / 0.8913 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.03783, allocations: 63.91 kB / 0.8914 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.363e-05/0.03791, allocations: 79.81 kB / 0.8915 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.787e-05/0.03799, allocations: 71.75 kB / 0.8915 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.03837, allocations: 235.1 kB / 0.8917 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.03837, allocations: 0 / 0.8917 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.694e-06/0.03838, allocations: 0 / 0.8917 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.03838, allocations: 0 / 0.8917 GB, free: 11.76 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007094/0.03909, allocations: 0.5707 MB / 0.8923 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.03913, allocations: 8.031 kB / 0.8923 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.543e-05/0.03923, allocations: 48.75 kB / 0.8924 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.0395, allocations: 246.2 kB / 0.8926 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.03952, allocations: 16.69 kB / 0.8926 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.03955, allocations: 20.38 kB / 0.8926 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.03983, allocations: 248.1 kB / 0.8929 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.03984, allocations: 192 / 0.8929 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.03986, allocations: 16.11 kB / 0.8929 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.03987, allocations: 4 kB / 0.8929 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005276/0.0404, allocations: 0.6282 MB / 0.8935 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.04105, allocations: 495.6 kB / 0.894 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.04134, allocations: 180.8 kB / 0.8941 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/0.04142, allocations: 56.16 kB / 0.8942 GB, free: 9.102 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.04146, allocations: 20.27 kB / 0.8942 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.04166, allocations: 146.7 kB / 0.8944 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=35): time 2.494e-06/0.04167, allocations: 0 / 0.8944 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35): time 0.0004236/0.04209, allocations: 275.1 kB / 0.8946 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.04215, allocations: 106.8 kB / 0.8947 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.04236, allocations: 272.3 kB / 0.895 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.04239, allocations: 33.7 kB / 0.895 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.04246, allocations: 179.4 kB / 0.8952 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/0.04253, allocations: 119 kB / 0.8953 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.0426, allocations: 75.34 kB / 0.8954 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.04273, allocations: 0.5118 MB / 0.8959 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.251e-05/0.0428, allocations: 43.97 kB / 0.8959 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.04291, allocations: 147.9 kB / 0.896 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.04309, allocations: 139.7 kB / 0.8962 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.04309, allocations: 0 / 0.8962 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002546/0.04334, allocations: 224.9 kB / 0.8964 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.04336, allocations: 8 kB / 0.8964 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.04337, allocations: 0 / 0.8964 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.04338, allocations: 0 / 0.8964 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.04355, allocations: 67.91 kB / 0.8965 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.04356, allocations: 0 / 0.8965 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.04363, allocations: 23.88 kB / 0.8965 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.04365, allocations: 12.03 kB / 0.8965 GB, free: 6.613 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 0.000108/0.04376, allocations: 184.4 kB / 0.8967 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.0438, allocations: 39.81 kB / 0.8967 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.04418, allocations: 308.7 kB / 0.897 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.04418, allocations: 4 kB / 0.897 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.04419, allocations: 4 kB / 0.897 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.04419, allocations: 0 / 0.897 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.04437, allocations: 236.3 kB / 0.8972 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.04437, allocations: 0 / 0.8972 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.04448, allocations: 59.91 kB / 0.8973 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.04448, allocations: 0 / 0.8973 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.0445, allocations: 12 kB / 0.8973 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.0445, allocations: 0 / 0.8973 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.0445, allocations: 7.938 kB / 0.8973 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.04477, allocations: 269.9 kB / 0.8976 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.209e-05/0.04484, allocations: 67.69 kB / 0.8976 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.04487, allocations: 8 kB / 0.8976 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.04494, allocations: 15.22 kB / 0.8977 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.04499, allocations: 27.95 kB / 0.8977 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.045, allocations: 8 kB / 0.8977 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.309e-05/0.0451, allocations: 193.1 kB / 0.8979 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.0451, allocations: 0 / 0.8979 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001978/0.0453, allocations: 55.94 kB / 0.8979 GB, free: 5.074 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.0007643/0.04606, allocations: 359 kB / 0.8983 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.04639, allocations: 171.2 kB / 0.8984 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.04639, allocations: 0 / 0.8984 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.0465, allocations: 103.4 kB / 0.8985 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.0467, allocations: 44.42 kB / 0.8986 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.04744, allocations: 432.7 kB / 0.899 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.002e-05/0.04749, allocations: 89.81 kB / 0.8991 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001865/0.04767, allocations: 142.8 kB / 0.8992 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.04774, allocations: 56.47 kB / 0.8993 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of SimCode: time 1.011e-06/0.04775, allocations: 0 / 0.8993 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of Templates: time 0.005083/0.05283, allocations: 3.005 MB / 0.9022 GB, free: 0.7617 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.412339729722589]